Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to govuk_publishing_components 43.1.1 #1472

Merged
merged 1 commit into from
Sep 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading