Skip to content

Commit a24b5ac

Browse files
author
Joel Denning
authored
React 19 (#50)
* React 19 * Formatting * Fix tests
1 parent 0a9681f commit a24b5ac

File tree

8 files changed

+348
-8465
lines changed

8 files changed

+348
-8465
lines changed

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm exec pretty-quick --staged && pnpm test && pnpm lint

package.json

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,18 @@
99
"watch-tests": "jest --watch",
1010
"format": "prettier --write .",
1111
"check-format": "prettier --check .",
12-
"coverage": "jest --coverage"
13-
},
14-
"husky": {
15-
"hooks": {
16-
"pre-commit": "pretty-quick --staged && concurrently yarn:test yarn:lint"
17-
}
12+
"coverage": "jest --coverage",
13+
"prepare": "husky"
1814
},
1915
"devDependencies": {
2016
"@babel/core": "^7.12.10",
2117
"@babel/plugin-proposal-class-properties": "^7.10.1",
2218
"@babel/plugin-proposal-decorators": "^7.12.12",
2319
"@babel/preset-env": "^7.12.11",
2420
"@babel/preset-react": "^7.12.10",
25-
"@testing-library/react": "^11.2.3",
21+
"@testing-library/dom": "^10.4.0",
22+
"@testing-library/jest-dom": "^6.6.3",
23+
"@testing-library/react": "^16.1.0",
2624
"@types/jest": "^26.0.20",
2725
"autoprefixer": "^10.2.4",
2826
"babel-eslint": "^10.1.0",
@@ -34,7 +32,7 @@
3432
"eslint-config-prettier": "^7.2.0",
3533
"eslint-config-react-important-stuff": "^3.0.0",
3634
"eslint-plugin-prettier": "^3.3.1",
37-
"husky": "^4.3.8",
35+
"husky": "^9.1.7",
3836
"identity-obj-proxy": "^3.0.0",
3937
"jest": "^26.1.0",
4038
"jest-cli": "^26.1.0",
@@ -43,19 +41,18 @@
4341
"pretty-quick": "^3.1.0",
4442
"react-router": "^5.2.0",
4543
"react-router-dom": "^5.2.0",
46-
"react-test-renderer": "^17.0.2",
47-
"single-spa-react": "^4.0.0",
44+
"single-spa-react": "^6.0.2",
4845
"style-loader": "^2.0.0",
4946
"systemjs-webpack-interop": "^2.3.4",
5047
"webpack": "^5.18.0",
5148
"webpack-cli": "^4.4.0",
52-
"webpack-config-single-spa-react": "^5.0.2",
49+
"webpack-config-single-spa-react": "^6.0.0",
5350
"webpack-dev-server": "^4.0.0-beta.0",
5451
"webpack-merge": "^5.7.3"
5552
},
5653
"dependencies": {
57-
"react": "^17.0.1",
58-
"react-dom": "^17.0.1"
54+
"react": "^19.0.0",
55+
"react-dom": "^19.0.0"
5956
},
6057
"packageManager": "pnpm@9.11.0"
6158
}

0 commit comments

Comments
 (0)