Skip to content

Commit

Permalink
Update Dependabot group for Docusaurus and React (#356)
Browse files Browse the repository at this point in the history
Docusaurus 3.0 is out. See https://docusaurus.io/blog/releases/3.0

We can now update React to 18:

```console
$ npm view @docusaurus/core peerDependencies
{ react: '^18.0.0', 'react-dom': '^18.0.0' }
```

So, updating Docusaurus and React simultaneously should be better.
  • Loading branch information
ybiquitous authored Nov 1, 2023
1 parent 39f3b3f commit 3868d81
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,10 @@ updates:
versioning-strategy: increase
labels:
- 'pr: dependencies'
# TODO: We cannot update React to v18. See https://github.com/facebook/docusaurus/issues/7264
ignore:
- dependency-name: 'react'
versions: ['18.x']
- dependency-name: 'react-dom'
versions: ['18.x']
groups:
docusaurus:
patterns: ['@docusaurus/*']
react:
patterns: ['react', 'react-dom']
# Note: React is a peer dependency of Docusaurus.
docusaurus-and-react:
patterns: ['@docusaurus/*', 'react', 'react-dom']
development-dependencies:
dependency-type: 'development'
exclude-patterns:
Expand Down

0 comments on commit 3868d81

Please sign in to comment.