Skip to content

chore(deps): remove unused importmap-rails gem - #2810

Merged
mroderick merged 2 commits into
masterfrom
feature/remove-unused-importmap-rails
Aug 26, 2026
Merged

chore(deps): remove unused importmap-rails gem#2810
mroderick merged 2 commits into
masterfrom
feature/remove-unused-importmap-rails

Conversation

@mroderick

Copy link
Copy Markdown
Collaborator

What

Removes the unused importmap-rails gem and its dangling CI step.

Why

importmap-rails was added to the Gemfile but the project never wired it up:

  • no config/importmap.rb
  • no app/javascript directory
  • no javascript_importmap_tags in layouts
  • the CI step bin/importmap audit pointed to a missing bin/importmap binstub

It is therefore dead weight.

Changes

  • Remove gem 'importmap-rails' from Gemfile
  • Remove importmap-rails from Gemfile.lock
  • Remove the Security: Importmap vulnerability audit step from config/ci.rb

Verification

  • bundle exec rubocop Gemfile config/ci.rb — clean
  • bundle exec rails runner 'puts "boot OK"' — boots
  • bundle exec rspec spec/models/chapter_spec.rb — 15 examples, 0 failures

`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
mroderick requested a review from olleolleolle August 25, 2026 20:27
@mroderick
mroderick marked this pull request as ready for review August 25, 2026 20:27

@olleolleolle olleolleolle left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, we never wired that up - no matter, better not to have unused things!

@mroderick
mroderick enabled auto-merge August 26, 2026 06:51
@mroderick
mroderick merged commit 2af899f into master Aug 26, 2026
9 checks passed
@mroderick
mroderick deleted the feature/remove-unused-importmap-rails branch August 26, 2026 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants