Skip to content

Commit

Permalink
convert to jsbundling
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jan 7, 2025
1 parent 06ae746 commit f3adfce
Show file tree
Hide file tree
Showing 36 changed files with 807 additions and 498 deletions.
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ AllCops:
- "config/**/*"
- "vendor/**/*"
- "spec/fixtures/**/*"
- "node_modules/**/*"

Rails:
Enabled: true
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,5 @@ gem 'recaptcha', '~> 5.17.1'
gem 'rack-attack'

gem 'cssbundling-rails', '~> 1.4'

gem 'jsbundling-rails', '~> 1.3'
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,8 @@ GEM
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jsbundling-rails (1.3.1)
railties (>= 6.0.0)
json (2.9.0)
jsonpath (1.1.5)
multi_json
Expand Down Expand Up @@ -931,6 +933,7 @@ DEPENDENCIES
iiif-presentation
jbuilder (~> 2.7)
jquery-rails
jsbundling-rails (~> 1.3)
jsonpath
letter_opener
listen (~> 3.3)
Expand Down
1 change: 1 addition & 0 deletions Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
web: env RUBY_DEBUG_OPEN=true bin/rails server
css: yarn watch:css
js: yarn build --watch
39 changes: 0 additions & 39 deletions app/assets/javascripts/application.js

This file was deleted.

110 changes: 0 additions & 110 deletions app/assets/javascripts/bibliography.js

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/javascripts/blacklight_gallery.js

This file was deleted.

1 change: 0 additions & 1 deletion app/assets/javascripts/blacklight_heatmaps.js

This file was deleted.

44 changes: 0 additions & 44 deletions app/assets/javascripts/cited_documents.js

This file was deleted.

53 changes: 0 additions & 53 deletions app/assets/javascripts/exhibit_search_typeahead.js

This file was deleted.

86 changes: 0 additions & 86 deletions app/assets/javascripts/index_status_typeahead.js

This file was deleted.

Loading

0 comments on commit f3adfce

Please sign in to comment.