Skip to content

Commit 2acda07

Browse files
committed
Add strict version checks
This means that if you're using an outdated node version, deps will fail to install entirely (better than confusing failures later).
1 parent 1f831b2 commit 2acda07

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
legacy-peer-deps=true
1+
legacy-peer-deps=true
2+
engine-strict=true

package-lock.json

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
"httptoolkit-server": ">=1.9.0",
3333
"httptoolkit-desktop": ">=1.7.0"
3434
},
35+
"engines": {
36+
"node": ">=20.0.0"
37+
},
3538
"dependencies": {
3639
"@ethersproject/abi": "^5.7.0",
3740
"@fontsource/dm-mono": "^5.0.19",

0 commit comments

Comments
 (0)