Skip to content

Commit ec24420

Browse files
committed
fix: type deps
1 parent 1b9c284 commit ec24420

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

package.json

+12-8
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,12 @@
2929
"url": "https://github.com/ocadotechnology/codeforlife-package-javascript/issues"
3030
},
3131
"homepage": "https://github.com/ocadotechnology/codeforlife-package-javascript#readme",
32-
"//": [
33-
"Types for dependencies must also be included as they are required for TS",
34-
" to build the app."
35-
],
3632
"dependencies": {
3733
"@emotion/react": "^11.10.6",
3834
"@emotion/styled": "^11.10.6",
3935
"@mui/icons-material": "^5.11.11",
4036
"@mui/material": "^5.11.12",
4137
"@reduxjs/toolkit": "^2.0.1",
42-
"@types/js-cookie": "^3.0.3",
43-
"@types/node": "^20.14.2",
44-
"@types/qs": "^6.9.7",
4538
"formik": "^2.2.9",
4639
"js-cookie": "^3.0.5",
4740
"qs": "^6.11.2",
@@ -52,7 +45,9 @@
5245
"@testing-library/jest-dom": "^6.2.0",
5346
"@testing-library/react": "^14.1.2",
5447
"@testing-library/user-event": "^14.5.2",
55-
"@types/node": "^20.2.5",
48+
"@types/js-cookie": "^3.0.3",
49+
"@types/node": "^20.14.2",
50+
"@types/qs": "^6.9.7",
5651
"@types/react": "^18.2.47",
5752
"@types/react-dom": "^18.2.18",
5853
"@vitejs/plugin-react": "^4.2.1",
@@ -72,7 +67,16 @@
7267
"react-redux": "^9.1.0",
7368
"react-router-dom": "^6.8.2"
7469
},
70+
"//": [
71+
"Types for dependencies must also be included in `peerDependencies` as",
72+
"they are required by TypeScript to build the app."
73+
],
7574
"peerDependencies": {
75+
"@types/js-cookie": "^3.0.3",
76+
"@types/node": "^20.14.2",
77+
"@types/qs": "^6.9.7",
78+
"@types/react": "^18.2.47",
79+
"@types/react-dom": "^18.2.18",
7680
"react": "^18.2.0",
7781
"react-dom": "^18.2.0",
7882
"react-redux": "^9.1.0",

0 commit comments

Comments
 (0)