Skip to content

Commit

Permalink
Switch to propshaft and stop using Terser
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Jan 6, 2025
1 parent 7e94b94 commit 87d62d2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 35 deletions.
5 changes: 1 addition & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 7.1.3'

# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
gem 'sprockets-rails'
gem 'propshaft'

# Use Puma as the app server
gem 'puma', '~> 6.0'

# Use Terser as compressor for JavaScript assets
gem 'terser', '~> 1.1'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Redis adapter for caching in production
Expand Down
41 changes: 10 additions & 31 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ GEM
bcrypt (3.1.20)
bcrypt_pbkdf (1.1.1)
bcrypt_pbkdf (1.1.1-arm64-darwin)
bcrypt_pbkdf (1.1.1-x86_64-darwin)
benchmark (0.4.0)
bigdecimal (3.1.8)
bindex (0.8.1)
Expand Down Expand Up @@ -304,7 +303,6 @@ GEM
faraday-retry (2.2.1)
faraday (~> 2.0)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
ffi-compiler (1.3.2)
ffi (>= 1.15.5)
Expand Down Expand Up @@ -343,9 +341,6 @@ GEM
google-protobuf (4.29.1-arm64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.29.1-x86_64-darwin)
bigdecimal
rake (>= 13)
google-protobuf (4.29.1-x86_64-linux)
bigdecimal
rake (>= 13)
Expand All @@ -366,9 +361,6 @@ GEM
grpc (1.68.1-arm64-darwin)
google-protobuf (>= 3.25, < 5.0)
googleapis-common-protos-types (~> 1.0)
grpc (1.68.1-x86_64-darwin)
google-protobuf (>= 3.25, < 5.0)
googleapis-common-protos-types (~> 1.0)
grpc (1.68.1-x86_64-linux)
google-protobuf (>= 3.25, < 5.0)
googleapis-common-protos-types (~> 1.0)
Expand Down Expand Up @@ -490,8 +482,6 @@ GEM
nio4r (2.7.4)
nokogiri (1.17.2-arm64-darwin)
racc (~> 1.4)
nokogiri (1.17.2-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.17.2-x86_64-linux)
racc (~> 1.4)
oauth2 (2.0.9)
Expand All @@ -513,9 +503,13 @@ GEM
parallel (1.26.3)
parser (3.3.6.0)
ast (~> 2.4.1)
racc
pg (1.5.9)
psych (5.2.1)
pg (1.4.6)
propshaft (0.6.4)
actionpack (>= 7.0.0)
activesupport (>= 7.0.0)
rack
railties (>= 7.0.0)
psych (5.2.2)
date
stringio
public_suffix (6.0.1)
Expand Down Expand Up @@ -578,7 +572,7 @@ GEM
zeitwerk (~> 2.6)
rainbow (3.1.1)
rake (13.2.1)
rdoc (6.9.0)
rdoc (6.10.0)
psych (>= 4.0.0)
recaptcha (5.18.0)
redcarpet (3.6.0)
Expand Down Expand Up @@ -715,15 +709,7 @@ GEM
ostruct
retriable
ruby-progressbar
sprockets (4.2.1)
concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4)
sprockets-rails (3.5.2)
actionpack (>= 6.1)
activesupport (>= 6.1)
sprockets (>= 3.0.0)
sqlite3 (1.7.3-arm64-darwin)
sqlite3 (1.7.3-x86_64-darwin)
sqlite3 (1.7.3-x86_64-linux)
sshkit (1.23.2)
base64
Expand All @@ -737,8 +723,6 @@ GEM
stringio (3.1.2)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
terser (1.2.4)
execjs (>= 0.3.0, < 3)
test_xml (0.1.8)
diffy (~> 3.0)
nokogiri (>= 1.3.2)
Expand Down Expand Up @@ -777,11 +761,7 @@ GEM
zeitwerk (2.7.1)

PLATFORMS
arm64-darwin-23
x86_64-darwin-19
x86_64-darwin-20
x86_64-darwin-21
x86_64-darwin-22
arm64-darwin-24
x86_64-linux

DEPENDENCIES
Expand Down Expand Up @@ -817,6 +797,7 @@ DEPENDENCIES
okcomputer
openseadragon (= 0.9.0)
pg
propshaft
puma (~> 6.0)
rack-attack
rack-mini-profiler (~> 2.0)
Expand All @@ -843,10 +824,8 @@ DEPENDENCIES
sitemap_generator
slowpoke (~> 0.4)
solr_wrapper
sprockets-rails
sqlite3 (~> 1.4)
stimulus-rails (~> 1.2)
terser (~> 1.1)
turbo-rails (~> 1.3)
web-console (>= 4.1.0)

Expand Down

0 comments on commit 87d62d2

Please sign in to comment.