Skip to content

Commit

Permalink
Specify min npm version in addition to a min node version, and make t…
Browse files Browse the repository at this point in the history
…hem required via .npmrc (#50)
  • Loading branch information
amantri authored Apr 15, 2023
1 parent fc74870 commit 10c3894
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
3 changes: 2 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@
"typescript": "^4.9.5"
},
"engines": {
"node": ">=18.0.0"
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
Expand Down

0 comments on commit 10c3894

Please sign in to comment.