Skip to content

Bump @x-govuk/govuk-eleventy-plugin from 6.7.2 to 7.0.0#125

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/x-govuk/govuk-eleventy-plugin-7.0.0
Closed

Bump @x-govuk/govuk-eleventy-plugin from 6.7.2 to 7.0.0#125
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/x-govuk/govuk-eleventy-plugin-7.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 21, 2025

Bumps @x-govuk/govuk-eleventy-plugin from 6.7.2 to 7.0.0.

Release notes

Sourced from @​x-govuk/govuk-eleventy-plugin's releases.

v7.0.0

Breaking changes

Requirements

The minimum requirements for this version have changed:

ES modules

The plugin is now provided as an ES module with a named export, instead of using the older CommonJS format (which uses require() to import modules).

If you are already using ES modules in your project, update the following import:

- import govukEleventyPlugin from '@x-govuk/govuk-eleventy-plugin'
+ import { govukEleventyPlugin } from '@x-govuk/govuk-eleventy-plugin'

If your project is using CommonJS, you will need to import the plugin using a dynamic import(). Refer to CommonJS vs. ESM on the Eleventy website for more information.

Service navigation

The plugin now accepts all options for service navigation, if shown.

The name of this option has changed from navigation to serviceNavigation, with navigation.items renamed serviceNavigation.navigation:

  import { govukEleventyPlugin } from '@x-govuk/govuk-eleventy-plugin'
export default function(eleventyConfig) {
eleventyConfig.addPlugin(govukEleventyPlugin, {


navigation: {



  items: [{





serviceNavigation: {



  navigation: {
    text: 'API reference',
    href: '/api'
  }, {
    text: 'Glossary',
    href: '/glossary'
  }]
}

})
// Other configuration options
...
}
</tr></table>

... (truncated)

Commits
  • 4fb9987 7.0.0
  • 1c99b35 Upgrade govuk-prototype-components dependency
  • 39f074b Update package-lock.json
  • 7676ab5 Add git prefix to package repository URL
  • b518cc4 7.0.0-0
  • d13f635 Update stylelint-order dependency
  • 78bf3ff Update documentation assets
  • f41415e Document upgrade from v6 to v7
  • 9b7ca43 Use govuk-exports for plugin components
  • 72e666f Provide example layouts with default branding
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

Bumps [@x-govuk/govuk-eleventy-plugin](https://github.com/x-govuk/govuk-eleventy-plugin) from 6.7.2 to 7.0.0.
- [Release notes](https://github.com/x-govuk/govuk-eleventy-plugin/releases)
- [Commits](x-govuk/govuk-eleventy-plugin@v6.7.2...v7.0.0)

---
updated-dependencies:
- dependency-name: "@x-govuk/govuk-eleventy-plugin"
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 21, 2025
@frankieroberto frankieroberto temporarily deployed to screening-de-dependabot-or2pnh May 21, 2025 07:02 Inactive
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 23, 2025

Superseded by #128.

@dependabot dependabot Bot closed this May 23, 2025
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/x-govuk/govuk-eleventy-plugin-7.0.0 branch May 23, 2025 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant