chore(deps): remove unused importmap-rails gem - #2810
Merged
Conversation
`importmap-rails` was added to the Gemfile but the project never created `config/importmap.rb`, `app/javascript`, or used `javascript_importmap_tags`. The CI step also pointed to a missing `bin/importmap` binstub. Remove the gem, its lockfile entries, and the dangling CI audit step.
mroderick
marked this pull request as ready for review
August 25, 2026 20:27
olleolleolle
approved these changes
Aug 26, 2026
olleolleolle
left a comment
Collaborator
There was a problem hiding this comment.
Right, we never wired that up - no matter, better not to have unused things!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Removes the unused
importmap-railsgem and its dangling CI step.Why
importmap-railswas added to the Gemfile but the project never wired it up:config/importmap.rbapp/javascriptdirectoryjavascript_importmap_tagsin layoutsbin/importmap auditpointed to a missingbin/importmapbinstubIt is therefore dead weight.
Changes
gem 'importmap-rails'fromGemfileimportmap-railsfromGemfile.lockSecurity: Importmap vulnerability auditstep fromconfig/ci.rbVerification
bundle exec rubocop Gemfile config/ci.rb— cleanbundle exec rails runner 'puts "boot OK"'— bootsbundle exec rspec spec/models/chapter_spec.rb— 15 examples, 0 failures