Skip to content

Commit

Permalink
Merge pull request #1472 from alphagov/upgrade-to-frontend-5
Browse files Browse the repository at this point in the history
Upgrade to govuk_publishing_components 43.1.1
  • Loading branch information
lauraghiorghisor-tw authored Sep 19, 2024
2 parents a4c5044 + 2dc273a commit b9eb513
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ gem "gds-sso"
gem "govspeak"
gem "govuk_admin_template"
gem "govuk_app_config"
gem "govuk_publishing_components", "39.2.5"
gem "govuk_publishing_components", "43.1.1"
gem "plek"

# assets
gem "dartsass-rails"
gem "select2-rails"
gem "uglifier"
gem "terser"

# development
group :development do
Expand Down
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ GEM
govuk_personalisation (1.0.0)
plek (>= 1.9.0)
rails (>= 6, < 8)
govuk_publishing_components (39.2.5)
govuk_publishing_components (43.1.1)
govuk_app_config
govuk_personalisation (>= 0.7.0)
kramdown
Expand Down Expand Up @@ -690,13 +690,13 @@ GEM
sprockets (>= 3.0.0)
statsd-ruby (1.5.0)
stringio (3.1.1)
terser (1.2.3)
execjs (>= 0.3.0, < 3)
thor (1.3.2)
thread_safe (0.3.6)
timeout (0.4.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (2.5.0)
uri (0.13.0)
useragent (0.16.10)
Expand Down Expand Up @@ -747,7 +747,7 @@ DEPENDENCIES
govspeak
govuk_admin_template
govuk_app_config
govuk_publishing_components (= 39.2.5)
govuk_publishing_components (= 43.1.1)
govuk_schemas
json-schema
mlanett-redis-lock
Expand All @@ -765,7 +765,7 @@ DEPENDENCIES
simple_form
simplecov
sprockets-rails
uglifier
terser
virtus
webmock
whenever
Expand Down
4 changes: 2 additions & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@

# Compress JavaScript.
# Fix for ie8 and select2
require "uglifier"
config.assets.js_compressor = Uglifier.new(output: { ascii_only: true, quote_keys: true })
config.assets.js_compressor = :terser
config.assets.terser = { output: { ascii_only: true, quote_keys: true } }

# Compress CSS using a preprocessor.
# config.assets.css_compressor = :sass
Expand Down

0 comments on commit b9eb513

Please sign in to comment.