Skip to content

Commit

Permalink
Revert "upgrade to use node 16 everywhere"
Browse files Browse the repository at this point in the history
This reverts commit 1fad172.
  • Loading branch information
ndelangen committed Oct 11, 2022
1 parent 1fad172 commit f798003
Show file tree
Hide file tree
Showing 40 changed files with 108 additions and 76 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ executors:
default: 'medium'
working_directory: /tmp/storybook
docker:
- image: cimg/node:16.17.1
- image: cimg/node:14.19
environment:
NODE_OPTIONS: --max_old_space_size=3076
resource_class: <<parameters.class>>
Expand All @@ -23,7 +23,7 @@ executors:
default: 'medium'
working_directory: /tmp/storybook
docker:
- image: cimg/node:16.17.1-browsers
- image: cimg/node:14.19-browsers
environment:
NODE_OPTIONS: --max_old_space_size=3076
resource_class: <<parameters.class>>
Expand Down
25 changes: 25 additions & 0 deletions .github/autolabeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
'addon: a11y': ['addons/a11y/**']
'addon: actions': ['addons/actions/**']
'addon: backgrounds': ['addons/backgrounds/**']
'addon: events ': ['addons/events/**']
'addon: graphql ': ['addons/graphql/**']
'addon: info': ['addons/info/**']
'addon: jest': ['addons/jest/**']
'addon: knobs': ['addons/knobs/**']
'addon: links': ['addons/links/**']
'addon: notes': ['addons/notes/**']
'addon: options': ['addons/options/**']
'addon: storyshots': ['addons/storyshots/**']
'addon: viewport': ['addons/viewport/**']
'app: angular': ['app/angular/**']
'app: preact': ['app/preact/**']
'app: rax': ['app/rax/**']
'app: react': ['app/react/**']
'app: vue': ['app/vue/**']
'app: svelte': ['app/svelte/**']
'app: mithril': ['app/mithril/**']
'babel / webpack': ['webpack', 'babel']
'cli': ['lib/cli/**']
'compatibility with other tools': []
'documentation': ['docs', '*.md']
'ui': ['lib/ui']
2 changes: 1 addition & 1 deletion .github/workflows/danger-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '14'
- uses: actions/checkout@master
- name: Danger JS
uses: danger/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-repros-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/setup-node@v2
with:
node-version: 16
node-version: 14
- uses: actions/checkout@v2
- name: Setup git user
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-repros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/setup-node@v2
with:
node-version: 16
node-version: 14
- uses: actions/checkout@v2
- name: Setup git user
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node_version: [16]
node_version: [14, 16]
include:
- os: macos-latest
node_version: 16
Expand Down
2 changes: 1 addition & 1 deletion code/addons/interactions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"devDependencies": {
"@storybook/jest": "^0.0.10",
"@storybook/testing-library": "0.0.14-next.0",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"formik": "^2.2.9",
"typescript": "~4.6.3"
},
Expand Down
2 changes: 1 addition & 1 deletion code/examples/angular-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@storybook/source-loader": "7.0.0-alpha.35",
"@storybook/testing-library": "0.0.14-next.0",
"@types/jest": "^26.0.16",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/sass": "^1",
"@webcomponents/custom-elements": "^1.4.3",
"global": "^4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@storybook/docs-tools": "7.0.0-alpha.35",
"@storybook/node-logger": "7.0.0-alpha.35",
"@storybook/store": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/react": "^16.14.23",
"@types/react-dom": "^16.9.14",
"@types/semver": "^7.3.4",
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 @@ -54,7 +54,7 @@
"@storybook/core-common": "7.0.0-alpha.35",
"@storybook/html": "7.0.0-alpha.35",
"@storybook/preset-html-webpack": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"global": "^4.4.0",
"react": "16.14.0",
"react-dom": "16.14.0"
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 @@ -54,7 +54,7 @@
"@storybook/core-common": "7.0.0-alpha.35",
"@storybook/preact": "7.0.0-alpha.35",
"@storybook/preset-preact-webpack": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"vite": "^3.1.3"
},
"devDependencies": {
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"typescript": "~4.6.3",
"vite": "^3.1.3"
},
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 @@ -54,7 +54,7 @@
"@storybook/builder-webpack5": "7.0.0-alpha.35",
"@storybook/preset-react-webpack": "7.0.0-alpha.35",
"@storybook/react": "7.0.0-alpha.35",
"@types/node": "^16.0.0"
"@types/node": "^14.14.20 || ^16.0.0"
},
"devDependencies": {
"jest-specific-snapshot": "^4.0.0",
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 @@ -54,7 +54,7 @@
"@storybook/core-common": "7.0.0-alpha.35",
"@storybook/preset-server-webpack": "7.0.0-alpha.35",
"@storybook/server": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/svelte-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"vite": "^3.1.3"
},
"devDependencies": {
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"typescript": "~4.6.3",
"vite": "^3.1.3"
},
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 @@ -54,7 +54,7 @@
"@storybook/core-common": "7.0.0-alpha.35",
"@storybook/preset-vue-webpack": "7.0.0-alpha.35",
"@storybook/vue": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/vue3-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"vue-docgen-api": "^4.40.0"
},
"devDependencies": {
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"typescript": "~4.6.3",
"vite": "^3.1.3"
},
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 @@ -54,7 +54,7 @@
"@storybook/core-common": "7.0.0-alpha.35",
"@storybook/preset-vue3-webpack": "7.0.0-alpha.35",
"@storybook/vue3": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},
Expand Down
2 changes: 1 addition & 1 deletion code/frameworks/web-components-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"vite": "3"
},
"devDependencies": {
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"typescript": "~4.6.3",
"vite": "^3.1.0"
},
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 @@ -57,7 +57,7 @@
"@storybook/core-common": "7.0.0-alpha.35",
"@storybook/preset-web-components-webpack": "7.0.0-alpha.35",
"@storybook/web-components": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},
Expand Down
2 changes: 1 addition & 1 deletion code/lib/builder-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"@storybook/mdx2-csf": "^0.0.3",
"@types/express": "^4.17.13",
"@types/node": "^16.0.0",
"@types/node": "^17.0.23",
"typescript": "~4.6.3",
"vite": "^3.1.3"
},
Expand Down
2 changes: 1 addition & 1 deletion code/lib/builder-webpack5/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"@storybook/router": "7.0.0-alpha.35",
"@storybook/store": "7.0.0-alpha.35",
"@storybook/theming": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/semver": "^7.3.4",
"babel-loader": "^8.2.5",
"babel-plugin-named-exports-order": "^0.0.2",
Expand Down
2 changes: 1 addition & 1 deletion code/lib/core-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@storybook/node-logger": "7.0.0-alpha.35",
"@types/babel__core": "^7.0.0",
"@types/express": "^4.7.0",
"@types/node": "^16.0.0",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/pretty-hrtime": "^1.0.0",
"chalk": "^4.1.0",
"esbuild": "^0.14.48",
Expand Down
2 changes: 1 addition & 1 deletion code/lib/core-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@storybook/node-logger": "7.0.0-alpha.35",
"@storybook/store": "7.0.0-alpha.35",
"@storybook/telemetry": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/node-fetch": "^2.5.7",
"@types/pretty-hrtime": "^1.0.0",
"@types/semver": "^7.3.4",
Expand Down
2 changes: 1 addition & 1 deletion code/lib/core-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"dependencies": {
"@storybook/core-common": "7.0.0-alpha.35",
"@storybook/node-logger": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.0.10 || ^16.0.0",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion code/lib/theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
"@types/fs-extra": "^9.0.6",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"deep-object-diff": "^1.1.0",
"fs-extra": "^9.0.1",
"global": "^4.4.0",
Expand Down
2 changes: 1 addition & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"@types/jest": "^26.0.16",
"@types/js-yaml": "^3.12.6",
"@types/lodash": "^4.14.167",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node-cleanup": "^2.1.1",
"@types/prompts": "2.0.11",
"@types/react": "^16.14.23",
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 @@ -51,7 +51,7 @@
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"html-loader": "^3.1.0",
"react": "16.14.0",
"react-dom": "16.14.0",
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 @@ -52,7 +52,7 @@
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.12.12",
"@storybook/core-webpack": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},
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 @@ -79,7 +79,7 @@
"@storybook/node-logger": "7.0.0-alpha.35",
"@storybook/react": "7.0.0-alpha.35",
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/semver": "^7.3.4",
"babel-plugin-add-react-displayname": "^0.0.5",
"babel-plugin-react-docgen": "^4.2.1",
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 @@ -58,7 +58,7 @@
"@storybook/core-server": "7.0.0-alpha.35",
"@storybook/core-webpack": "7.0.0-alpha.35",
"@storybook/server": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"global": "^4.4.0",
"react": "16.14.0",
"react-dom": "16.14.0",
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 @@ -62,7 +62,7 @@
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.35",
"@storybook/docs-tools": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0",
"ts-loader": "^9.2.8",
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 @@ -62,7 +62,7 @@
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.35",
"@storybook/docs-tools": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0",
"ts-loader": "^9.2.8",
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 @@ -56,7 +56,7 @@
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/preset-env": "^7.12.11",
"@storybook/core-webpack": "7.0.0-alpha.35",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"babel-loader": "^7.0.0 || ^8.0.0",
"babel-plugin-bundled-import-meta": "^0.3.1",
"react": "16.14.0",
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 @@ -58,7 +58,7 @@
"@storybook/docs-tools": "7.0.0-alpha.35",
"@storybook/store": "7.0.0-alpha.35",
"@types/estree": "^0.0.51",
"@types/node": "^16.0.0",
"@types/node": "^14.14.20 || ^16.0.0",
"acorn": "^7.4.1",
"acorn-jsx": "^5.3.1",
"acorn-walk": "^7.2.0",
Expand Down
Loading

0 comments on commit f798003

Please sign in to comment.