Skip to content

Commit

Permalink
Upgrade shakapacker (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
luciagirasoles authored Oct 7, 2024
1 parent 361ce04 commit 96301aa
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ gem 'rails', '~> 7.0.8'
# Use Sass to process CSS
gem 'sassc-rails', '~> 2.1.2'

gem 'shakapacker', '= 7.2.3'
# Use package.json to manage dependencies
gem 'package_json', '~> 0.1.0'
gem 'shakapacker', '= 8.0.2'
gem 'slack-ruby-client', '~> 2.0.0'

gem 'bootsnap', '>= 1.18.4', require: false
Expand Down
5 changes: 3 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ GEM
rubyzip (>= 1.2.2, < 3.0)
websocket (~> 1.0)
semantic_range (3.0.0)
shakapacker (7.2.3)
shakapacker (8.0.2)
activesupport (>= 5.2)
package_json
rack-proxy (>= 0.6.1)
Expand Down Expand Up @@ -441,6 +441,7 @@ DEPENDENCIES
listen (~> 3.3)
mutex_m (~> 0.2.0)
nokogiri (~> 1.16)
package_json (~> 0.1.0)
pagy (~> 6.2)
pg (~> 1.4.5)
prettier (~> 2.0)
Expand All @@ -454,7 +455,7 @@ DEPENDENCIES
rubocop (~> 1.22)
sassc-rails (~> 2.1.2)
selenium-webdriver (~> 4.24)
shakapacker (= 7.2.3)
shakapacker (= 8.0.2)
shoulda-matchers (~> 5.3.0)
slack-ruby-client (~> 2.0.0)
stimulus-rails (~> 1.2.1)
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"react-helmet-async": "^1.3.0",
"sass": "^1.60.0",
"sass-loader": "^13.2.0",
"shakapacker": "7.2.3",
"shakapacker": "8.0.2",
"slim-select": "^2.6.0",
"style-loader": "^3.3.3",
"tailwindcss": "^3.3.1",
Expand Down Expand Up @@ -105,6 +105,7 @@
"rubocop --force-exclusion"
]
},
"packageManager": "[email protected]",
"scripts": {
"build": "esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=assets",
"build:css": "sass ./app/assets/stylesheets/admin.bootstrap.scss:./app/assets/builds/admin.css --no-source-map --load-path=node_modules",
Expand Down
11 changes: 5 additions & 6 deletions yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 96301aa

Please sign in to comment.