Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump govuk-components from 4.1.2 to 5.0.0
Bumps [govuk-components](https://github.com/x-govuk/govuk-components) from 4.1.2 to 5.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/x-govuk/govuk-components/releases">govuk-components's releases</a>.</em></p> <blockquote> <h2>Version 5.0.0</h2> <h1>Draft release notes</h1> <p>⚠️ <strong>This is a breaking change release</strong></p> <p>Version 5.0.0 of the ruby <code>govuk-components</code> gem supports version <code>5.0.0</code> of the <code>govuk-frontend</code> npm package. Both contain breaking changes, and are dependent on each other – so you should update both at the same time.</p> <p>These release notes for the ruby gem should be read alongside the release notes for <code>govuk-frontend</code>.</p> <h2>Upgrade instructions</h2> <h3>1. Install both the gem AND the node package</h3> <p>Update the version of <code>govuk-component</code> in your <code>Gemfile</code> and run <code>bundle install</code>:</p> <pre><code>gem "govuk-components", "~> 5.0.0b4" </code></pre> <p>Update your version of <code>govuk-frontend</code> in your <code>package.json</code> and then run <code>npm install</code> or <code>yarn install</code> (depending on which you use).</p> <pre><code>"govuk-frontend": "5.0.0-beta.2", </code></pre> <h4>2. Check that your app still builds</h4> <p>The way that assets have been packaged in <code>govuk-frontend</code> has changed, so you may need to update your build process.</p> <p>If you're using Sass, change</p> <pre><code>@import "govuk-frontend/govuk/all"; </code></pre> <p>to</p> <pre><code>@import "govuk-frontend/dist/govuk/all"; </code></pre> <p>If you are using a javascript compiler, change <code>govuk-frontend/govuk</code> to <code>govuk-frontend/dist/govuk</code>.</p> <p>See <a href="https://github.com/alphagov/govuk-frontend/releases/tag/v5.0.0-beta.0">release notes for govuk-frontend 5.0.0</a> for details.</p> <h4>3. Update your application layout file</h4> <p>In your application layout file (normally <code>layouts/application.html.erb</code>), update the code snippet which adds a class to the document body.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/x-govuk/govuk-components/commit/69106acf39245b7779bb9a1c589e090a827a4a8d"><code>69106ac</code></a> Release version 5.0.0</li> <li><a href="https://github.com/x-govuk/govuk-components/commit/00d582f30a15971c07a415102d8b0e040f2ebb7e"><code>00d582f</code></a> Version 5.0.0 (<a href="https://redirect.github.com/x-govuk/govuk-components/issues/456">#456</a>)</li> <li><a href="https://github.com/x-govuk/govuk-components/commit/a70be3e18f71cac026768d7c920229ba4493bae1"><code>a70be3e</code></a> Use released version</li> <li><a href="https://github.com/x-govuk/govuk-components/commit/ab2d25830f6472d6aaccff1212724accece20edf"><code>ab2d258</code></a> Fix spelling of compatible (<a href="https://redirect.github.com/x-govuk/govuk-components/issues/476">#476</a>)</li> <li><a href="https://github.com/x-govuk/govuk-components/commit/1691036297b0c93effc3aa87b447690b3f51cc7b"><code>1691036</code></a> Fix spelling of compatible</li> <li><a href="https://github.com/x-govuk/govuk-components/commit/3bcf53101ac562406a5876f8a2ac51ad76577397"><code>3bcf531</code></a> code style fix</li> <li><a href="https://github.com/x-govuk/govuk-components/commit/b29f7a990c776f91bc730a18d9d0f62361cf2900"><code>b29f7a9</code></a> Bump version</li> <li><a href="https://github.com/x-govuk/govuk-components/commit/b1a98c288a8be845e324c3ce56defb1ca6df2c8d"><code>b1a98c2</code></a> Fix block syntax for buttons</li> <li><a href="https://github.com/x-govuk/govuk-components/commit/3151c54ff8e4c694cf4de19c991cd8d56fe59956"><code>3151c54</code></a> Release version 5.0.0b3</li> <li><a href="https://github.com/x-govuk/govuk-components/commit/e4a6ab1363a8aeba474cd9d3eb549b07cc9ce20c"><code>e4a6ab1</code></a> Refactor to allow blocks to be used in ERb (<a href="https://redirect.github.com/x-govuk/govuk-components/issues/475">#475</a>)</li> <li>Additional commits viewable in <a href="https://github.com/x-govuk/govuk-components/compare/v4.1.2...v5.0.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=govuk-components&package-manager=bundler&previous-version=4.1.2&new-version=5.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
- Loading branch information