Skip to content

Commit

Permalink
fix(react): update peerDependencies for react v19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Dec 11, 2024
1 parent 195255b commit 512e82a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

- uses: actions/checkout@v1

- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: 20.x

- name: yarn install, yarn test:coverage
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:

- uses: actions/checkout@v1

- name: Use Node.js 18.x
- name: Use Node.js 20.x
uses: actions/setup-node@v1
with:
node-version: 18.x
node-version: 20.x

- name: yarn install, yarn test:coverage
run: |
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
}
},
"peerDependencies": {
"mutative": "^1.0"
"mutative": "^1.0",
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0"
}
}

0 comments on commit 512e82a

Please sign in to comment.