Skip to content

Commit

Permalink
chore: enforcing npm and node versions (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev authored Apr 5, 2024
1 parent f58dcc0 commit eb5c139
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 5 deletions.
1 change: 1 addition & 0 deletions examples/cloud_provider/production_react_netlify/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict = true
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"private": true,
"type": "module",
"engines": {
"node": ">=18.0"
"node": ">=18.0",
"npm": ">=9.0"
},
"devDependencies": {
"@types/node": "^18.17.14",
Expand Down
1 change: 1 addition & 0 deletions examples/cloud_provider/production_react_vercel/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict = true
3 changes: 2 additions & 1 deletion examples/cloud_provider/production_react_vercel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"private": true,
"type": "module",
"engines": {
"node": ">=18.0"
"node": ">=18.0",
"npm": ">=9.0"
},
"devDependencies": {
"@types/node": "^18.17.14",
Expand Down
1 change: 1 addition & 0 deletions examples/production_react/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict = true
3 changes: 2 additions & 1 deletion examples/production_react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"private": true,
"type": "module",
"engines": {
"node": ">=18.0"
"node": ">=18.0",
"npm": ">=9.0"
},
"devDependencies": {
"@types/node": "^18.17.14",
Expand Down
1 change: 1 addition & 0 deletions examples/starter_react/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict = true
3 changes: 2 additions & 1 deletion examples/starter_react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"private": true,
"type": "module",
"engines": {
"node": ">=18.0"
"node": ">=18.0",
"npm": ">=9.0"
},
"devDependencies": {
"@types/node": "^18.17.14",
Expand Down
1 change: 1 addition & 0 deletions template_content/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict = true
3 changes: 2 additions & 1 deletion template_content/package.json.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"private": true,
"type": "module",
"engines": {
"node": ">=18.0"
"node": ">=18.0",
"npm": ">=9.0"
},
"devDependencies": {
"@types/node": "^18.17.14",
Expand Down

0 comments on commit eb5c139

Please sign in to comment.