diff --git a/lib/metalsmith.js b/lib/metalsmith.js index 0b0f4b8e5d..22a7b154a0 100644 --- a/lib/metalsmith.js +++ b/lib/metalsmith.js @@ -139,6 +139,11 @@ module.exports = metalsmith dest: 'assets' }), + copyAssets('manifest.json', { + cwd: join(dirname(require.resolve('govuk-frontend')), 'assets'), + dest: 'assets' + }), + copyAssets('govuk-frontend.min.css?(.map)', { cwd: dirname(require.resolve('govuk-frontend')), dest: 'stylesheets' diff --git a/package-lock.json b/package-lock.json index 42bb6a94ef..144ef2d43d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "accessible-autocomplete": "^2.0.4", "clipboard": "^2.0.11", - "govuk-frontend": "^5.0.0-beta.1", + "govuk-frontend": "^5.0.0-beta.2", "iframe-resizer": "^4.3.9", "lunr": "^2.3.9" }, @@ -8747,9 +8747,9 @@ } }, "node_modules/govuk-frontend": { - "version": "5.0.0-beta.1", - "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-5.0.0-beta.1.tgz", - "integrity": "sha512-vHtKGYhr7tT/G4+CdsEnPDh+zCy/1HlTmCK0zb566Tb/AQwcOhhA9bq5fvnNsaSoZh0hMblJuOfCX5RDH6hwNA==", + "version": "5.0.0-beta.2", + "resolved": "https://registry.npmjs.org/govuk-frontend/-/govuk-frontend-5.0.0-beta.2.tgz", + "integrity": "sha512-ELp6skcgCj5lFt6NqeFE1g+kDSRVc8Jk6W071FOi6vrr/m4dUxhiatYo2YMabIcSsyVRmVSLQTPAT0mxpbEFBg==", "engines": { "node": ">= 4.2.0" } diff --git a/package.json b/package.json index d457d858be..b772eabe97 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "dependencies": { "accessible-autocomplete": "^2.0.4", "clipboard": "^2.0.11", - "govuk-frontend": "^5.0.0-beta.1", + "govuk-frontend": "^5.0.0-beta.2", "iframe-resizer": "^4.3.9", "lunr": "^2.3.9" }, diff --git a/views/partials/_header.njk b/views/partials/_header.njk index ef85c1a2b5..18441b106c 100644 --- a/views/partials/_header.njk +++ b/views/partials/_header.njk @@ -2,37 +2,30 @@