Skip to content

Commit

Permalink
Merge pull request #20170 from storybookjs/tech/sync-engines
Browse files Browse the repository at this point in the history
Tech: change `package.json` engines fields, set to minimal node16 and up
  • Loading branch information
ndelangen authored Dec 9, 2022
2 parents a0fc6bd + 22e0181 commit 024ea83
Show file tree
Hide file tree
Showing 30 changed files with 30 additions and 32 deletions.
2 changes: 1 addition & 1 deletion code/frameworks/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
}
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/ember/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/html-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
}
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/preact-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/react-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
}
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/server-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/svelte-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"svelte-loader": "*"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/vue-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"vue": "^2.7.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/vue-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"vue-template-compiler": "^2.6.8"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/vue3-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"vue": "^3.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/web-components-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,7 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=10.13.0",
"yarn": ">=1.3.2"
"node": ">=16.0.0"
},
"collective": {
"type": "opencollective",
Expand Down
2 changes: 1 addition & 1 deletion code/presets/html-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@babel/core": "*"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/presets/preact-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"preact": "^8.0.0||^10.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/presets/react-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
}
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/presets/server-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"yaml": "^1.10.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/presets/svelte-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"svelte-loader": "*"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/presets/vue-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"vue-template-compiler": "^2.6.14"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/presets/vue3-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"vue": "^3.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/presets/web-components-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"lit-html": "^1.4.1 || ^2.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/html/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@babel/core": "*"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/preact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"preact": "^8.0.0||^10.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
}
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"typescript": "~4.9.3"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"svelte": "^3.1.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
}
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/vue3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"vue": "^3.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion code/renderers/web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"lit-html": "^1.4.1 || ^2.0.0"
},
"engines": {
"node": ">=10.13.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 1 addition & 2 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,6 @@
},
"packageManager": "[email protected]",
"engines": {
"node": ">=10.13.0",
"yarn": ">=1.3.2"
"node": ">=16.0.0"
}
}

0 comments on commit 024ea83

Please sign in to comment.