Skip to content

Commit 74cc18d

Browse files
committed
feat: support react 19
1 parent 9ae8251 commit 74cc18d

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/unit-tests.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,15 @@ jobs:
3030
runs-on: ubuntu-latest
3131
strategy:
3232
matrix:
33-
react-version: [16, 17]
34-
testing-library-version: [12]
3533
include:
34+
- react-version: 16
35+
testing-library-version: 12
36+
- react-version: 17
37+
testing-library-version: 12
3638
- react-version: 18
3739
testing-library-version: 16
40+
- react-version: 19
41+
testing-library-version: 16
3842
steps:
3943
- name: Checkout
4044
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
"prismjs": "1.30.0"
5959
},
6060
"peerDependencies": {
61-
"react": "^16.14.0 || ^17.0.0 || ^18.0.0",
62-
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0"
61+
"react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
62+
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
6363
},
6464
"devDependencies": {
6565
"@babel/core": "7.28.3",

0 commit comments

Comments
 (0)