Skip to content

Commit

Permalink
Fix missing deps and peer deps warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
axelboc committed Sep 28, 2023
1 parent b2bff2d commit 2b4294d
Show file tree
Hide file tree
Showing 3 changed files with 268 additions and 149 deletions.
3 changes: 3 additions & 0 deletions ui/.npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Enforce Node and pnpm versions as specified in `package.json`
engine-strict=true

# Save exact dependency versions in `package.json`
save-prefix=""
11 changes: 11 additions & 0 deletions ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.2",
"@testing-library/user-event": "^13.5.0",
"babel-preset-react-app": "10.0.1",
"concurrently": "^7.0.0",
"cypress": "13.1.0",
"eslint": "8.42.0",
Expand All @@ -89,6 +90,7 @@
"less": "^4.1.2",
"less-watch-compiler": "^1.16.3",
"prettier": "3.0.0",
"prop-types": "15.8.1",
"react-scripts": "5.0.0",
"sass": "^1.51.0",
"webpack": "^5.69.1",
Expand All @@ -105,5 +107,14 @@
"last 1 firefox version",
"last 1 safari version"
]
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"@phenomnomnominal/tsquery>typescript": "5.x",
"eslint-plugin-etc>typescript": "5.x",
"react-scripts>typescript": "5.x"
}
}
}
}
Loading

0 comments on commit 2b4294d

Please sign in to comment.