Skip to content

Commit

Permalink
build(cra): Fix peer dependency warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
NiGhTTraX committed May 15, 2022
1 parent 3a251d1 commit 6dff88c
Show file tree
Hide file tree
Showing 3 changed files with 1,039 additions and 1,598 deletions.
13 changes: 11 additions & 2 deletions examples/cra/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,24 @@
},
"devDependencies": {
"@types/node": "~16.11.0",
"@babel/core": "~7.17.10",
"@babel/plugin-syntax-flow": "~7.14.5",
"@babel/plugin-transform-react-jsx": "~7.14.9",
"@craco/craco": "~6.4.0",
"@types/express": "~4.17.13",
"@types/jest": "~27.4.0",
"@types/react": "~18.0.0",
"@types/react-dom": "~18.0.0",
"@craco/craco": "~6.4.0",
"autoprefixer": "~10.0.2",
"cross-env": "~7.0.2",
"jest": "~27.0.0",
"postcss": "~8.4.13",
"react-scripts": "~5.0.0",
"rimraf": "~3.0.2",
"ts-jest": "~27.1.3",
"tsconfig-paths-webpack-plugin": "~3.5.0",
"ts-jest": "~27.1.3"
"typescript": "~4.6.4"

},
"scripts": {
"clean": "rimraf dist",
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,12 @@
"eslint": "~8.14.0",
"eslint-plugin-import": "~2.26.0",
"typescript": "~4.6.0"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"react-scripts": "^5.0.0"
}
}
}
}
Loading

0 comments on commit 6dff88c

Please sign in to comment.