Skip to content

Commit

Permalink
Bump @nivo/pie from 0.80.0 to 0.84.0 (#6291)
Browse files Browse the repository at this point in the history
* Bump @nivo/pie from 0.80.0 to 0.84.0

Bumps [@nivo/pie](https://github.com/plouc/nivo/tree/HEAD/packages/pie) from 0.80.0 to 0.84.0.
- [Release notes](https://github.com/plouc/nivo/releases)
- [Changelog](https://github.com/plouc/nivo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/plouc/nivo/commits/v0.84.0/packages/pie)

---
updated-dependencies:
- dependency-name: "@nivo/pie"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update the other two Nivo dependencies

* Add bulk update script for Nivo dependencies

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christopher Sunkel <[email protected]>
  • Loading branch information
dependabot[bot] and cgsunkel committed Jan 2, 2024
1 parent bf7b3f9 commit d42b6c1
Show file tree
Hide file tree
Showing 4 changed files with 151 additions and 58 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ updates:
- dependency-name: "@sentry/tracing"
versions:
- ">= 0"
- dependency-name: "@nivo/pie"
versions:
- ">= 0"
- dependency-name: "@nivo/tooltip"
versions:
- ">= 0"
# ignore all GitHub linguist patch updates
- dependency-name: "github-linguist"
update-types: ["version-update:semver-patch"]
Expand Down
5 changes: 3 additions & 2 deletions docs/Dependabot.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ If the Opensearch version has been updated in the API, the version used in [`doc

The `react-dom` and `react` packages should, where possible, be kept at the same version number.

### Bulk updgrade of dependency groups (Sentry and Storybook)
### Bulk updgrade of dependency groups

Some of the packages we use have several companion packages that should be kept at the same version in order for them to work correctly. In order to optimise the number of upgrades we perform and to prevent wastage of CircleCI resource on redundant PRs, Dependabot has been configured to only upgrade one dependency in the group with the expectation being that the others should be updated using a script.

We currently have two groups of dependencies that need to be updated in this manner:
We currently have three groups of dependencies that need to be updated in this manner:
- Nivo (`dependabot:update-nivo`)
- Sentry (`dependabot:update-sentry`)
- Storybook (`dependabot:update-storybook`)
189 changes: 137 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@
"adr-graph": "adr generate graph",
"adr-toc": "adr generate toc",
"dependabot:update-storybook": "npm install --save-dev @storybook/addon-a11y@latest @storybook/addon-essentials@latest @storybook/addons@latest @storybook/react@latest @storybook/react-webpack5@latest storybook@latest",
"dependabot:update-sentry": "npm install @sentry/browser@latest @sentry/node@latest @sentry/react@latest @sentry/tracing@latest"
"dependabot:update-sentry": "npm install @sentry/browser@latest @sentry/node@latest @sentry/react@latest @sentry/tracing@latest",
"dependabot:update-nivo": "npm install @nivo/core@latest @nivo/pie@latest @nivo/tooltip@latest"
},
"nyc": {
"report-dir": "cypress-coverage",
Expand All @@ -67,9 +68,9 @@
},
"dependencies": {
"@govuk-react/constants": "^0.10.6",
"@nivo/core": "^0.80.0",
"@nivo/pie": "^0.80.0",
"@nivo/tooltip": "^0.80.0",
"@nivo/core": "^0.84.0",
"@nivo/pie": "^0.84.0",
"@nivo/tooltip": "^0.84.0",
"@redux-devtools/extension": "^3.3.0",
"@reduxjs/toolkit": "^1.9.7",
"@sentry/browser": "^7.91.0",
Expand Down

0 comments on commit d42b6c1

Please sign in to comment.