Merge pull request #19458 from storybookjs/tech/use-node-16

upgrade to use node 16 everywhere
This commit is contained in:
Norbert de Langen 2022-10-13 17:22:36 +03:00 committed by GitHub
commit acb3ed1f90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
39 changed files with 74 additions and 106 deletions

View File

@ -10,7 +10,7 @@ executors:
default: 'medium'
working_directory: /tmp/storybook
docker:
- image: cimg/node:14.19
- image: cimg/node:16.17.1
environment:
NODE_OPTIONS: --max_old_space_size=3076
resource_class: <<parameters.class>>
@ -23,7 +23,7 @@ executors:
default: 'medium'
working_directory: /tmp/storybook
docker:
- image: cimg/node:14.19-browsers
- image: cimg/node:16.17.1-browsers
environment:
NODE_OPTIONS: --max_old_space_size=3076
resource_class: <<parameters.class>>

View File

@ -1,25 +0,0 @@
'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']

View File

@ -10,7 +10,7 @@ jobs:
steps:
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'
- uses: actions/checkout@master
- name: Danger JS
uses: danger/danger-js@10.9.0

View File

@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
- uses: actions/checkout@v2
- name: Setup git user
run: |

View File

@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/setup-node@v2
with:
node-version: 14
node-version: 16
- uses: actions/checkout@v2
- name: Setup git user
run: |

View File

@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
node_version: [14, 16]
node_version: [16]
include:
- os: macos-latest
node_version: 16

View File

@ -76,7 +76,7 @@
"devDependencies": {
"@storybook/jest": "^0.0.10",
"@storybook/testing-library": "0.0.14-next.0",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"formik": "^2.2.9",
"typescript": "~4.6.3"
},

View File

@ -46,7 +46,7 @@
"@storybook/docs-tools": "7.0.0-alpha.37",
"@storybook/node-logger": "7.0.0-alpha.37",
"@storybook/store": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"@types/react": "^16.14.23",
"@types/react-dom": "^16.9.14",
"@types/semver": "^7.3.4",

View File

@ -54,7 +54,7 @@
"@storybook/core-common": "7.0.0-alpha.37",
"@storybook/html": "7.0.0-alpha.37",
"@storybook/preset-html-webpack": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"global": "^4.4.0",
"react": "16.14.0",
"react-dom": "16.14.0"

View File

@ -54,7 +54,7 @@
"@storybook/core-common": "7.0.0-alpha.37",
"@storybook/preact": "7.0.0-alpha.37",
"@storybook/preset-preact-webpack": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},

View File

@ -67,7 +67,7 @@
"vite": "^3.1.3"
},
"devDependencies": {
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"typescript": "~4.6.3",
"vite": "^3.1.3"
},

View File

@ -54,7 +54,7 @@
"@storybook/builder-webpack5": "7.0.0-alpha.37",
"@storybook/preset-react-webpack": "7.0.0-alpha.37",
"@storybook/react": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0"
"@types/node": "^16.0.0"
},
"devDependencies": {
"jest-specific-snapshot": "^4.0.0",

View File

@ -54,7 +54,7 @@
"@storybook/core-common": "7.0.0-alpha.37",
"@storybook/preset-server-webpack": "7.0.0-alpha.37",
"@storybook/server": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},

View File

@ -67,7 +67,7 @@
"vite": "^3.1.3"
},
"devDependencies": {
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"typescript": "~4.6.3",
"vite": "^3.1.3"
},

View File

@ -54,7 +54,7 @@
"@storybook/core-common": "7.0.0-alpha.37",
"@storybook/preset-vue-webpack": "7.0.0-alpha.37",
"@storybook/vue": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},

View File

@ -65,7 +65,7 @@
"vue-docgen-api": "^4.40.0"
},
"devDependencies": {
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"typescript": "~4.6.3",
"vite": "^3.1.3"
},

View File

@ -54,7 +54,7 @@
"@storybook/core-common": "7.0.0-alpha.37",
"@storybook/preset-vue3-webpack": "7.0.0-alpha.37",
"@storybook/vue3": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},

View File

@ -65,7 +65,7 @@
"vite": "3"
},
"devDependencies": {
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"typescript": "~4.6.3",
"vite": "^3.1.0"
},

View File

@ -57,7 +57,7 @@
"@storybook/core-common": "7.0.0-alpha.37",
"@storybook/preset-web-components-webpack": "7.0.0-alpha.37",
"@storybook/web-components": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},

View File

@ -38,7 +38,7 @@
"devDependencies": {
"@storybook/mdx2-csf": "^0.0.3",
"@types/express": "^4.17.13",
"@types/node": "^17.0.23",
"@types/node": "^16.0.0",
"typescript": "~4.6.3",
"vite": "^3.1.3"
},

View File

@ -50,7 +50,7 @@
"@storybook/router": "7.0.0-alpha.37",
"@storybook/store": "7.0.0-alpha.37",
"@storybook/theming": "7.0.0-alpha.37",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.4",
"babel-loader": "^8.2.5",
"babel-plugin-named-exports-order": "^0.0.2",

View File

@ -51,7 +51,7 @@
"@storybook/node-logger": "7.0.0-alpha.37",
"@types/babel__core": "^7.0.0",
"@types/express": "^4.7.0",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/node": "^16.0.0",
"@types/pretty-hrtime": "^1.0.0",
"chalk": "^4.1.0",
"esbuild": "^0.14.48",

View File

@ -45,7 +45,7 @@
"@storybook/node-logger": "7.0.0-alpha.37",
"@storybook/store": "7.0.0-alpha.37",
"@storybook/telemetry": "7.0.0-alpha.37",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/node": "^16.0.0",
"@types/node-fetch": "^2.5.7",
"@types/pretty-hrtime": "^1.0.0",
"@types/semver": "^7.3.4",

View File

@ -44,7 +44,7 @@
"dependencies": {
"@storybook/core-common": "7.0.0-alpha.37",
"@storybook/node-logger": "7.0.0-alpha.37",
"@types/node": "^14.0.10 || ^16.0.0",
"@types/node": "^16.0.0",
"ts-dedent": "^2.0.0"
},
"devDependencies": {

View File

@ -57,7 +57,7 @@
"@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4",
"@types/fs-extra": "^9.0.6",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"deep-object-diff": "^1.1.0",
"fs-extra": "^9.0.1",
"global": "^4.4.0",

View File

@ -240,7 +240,7 @@
"@types/jest": "^26.0.16",
"@types/js-yaml": "^3.12.6",
"@types/lodash": "^4.14.167",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"@types/node-cleanup": "^2.1.1",
"@types/prompts": "2.0.11",
"@types/react": "^16.14.23",

View File

@ -51,7 +51,7 @@
},
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"html-loader": "^3.1.0",
"react": "16.14.0",
"react-dom": "16.14.0",

View File

@ -52,7 +52,7 @@
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.12.12",
"@storybook/core-webpack": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0"
},

View File

@ -79,7 +79,7 @@
"@storybook/node-logger": "7.0.0-alpha.37",
"@storybook/react": "7.0.0-alpha.37",
"@storybook/react-docgen-typescript-plugin": "1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"@types/semver": "^7.3.4",
"babel-plugin-add-react-displayname": "^0.0.5",
"babel-plugin-react-docgen": "^4.2.1",

View File

@ -58,7 +58,7 @@
"@storybook/core-server": "7.0.0-alpha.37",
"@storybook/core-webpack": "7.0.0-alpha.37",
"@storybook/server": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"global": "^4.4.0",
"react": "16.14.0",
"react-dom": "16.14.0",

View File

@ -62,7 +62,7 @@
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.37",
"@storybook/docs-tools": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0",
"ts-loader": "^9.2.8",

View File

@ -62,7 +62,7 @@
"dependencies": {
"@storybook/core-webpack": "7.0.0-alpha.37",
"@storybook/docs-tools": "7.0.0-alpha.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"react": "16.14.0",
"react-dom": "16.14.0",
"ts-loader": "^9.2.8",

View File

@ -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.37",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"babel-loader": "^7.0.0 || ^8.0.0",
"babel-plugin-bundled-import-meta": "^0.3.1",
"react": "16.14.0",

View File

@ -58,7 +58,7 @@
"@storybook/docs-tools": "7.0.0-alpha.37",
"@storybook/store": "7.0.0-alpha.37",
"@types/estree": "^0.0.51",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"acorn": "^7.4.1",
"acorn-jsx": "^5.3.1",
"acorn-walk": "^7.2.0",

View File

@ -6600,7 +6600,7 @@ __metadata:
"@storybook/jest": ^0.0.10
"@storybook/testing-library": 0.0.14-next.0
"@storybook/theming": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
formik: ^2.2.9
global: ^4.4.0
jest-mock: ^27.0.6
@ -6984,7 +6984,7 @@ __metadata:
"@storybook/node-logger": 7.0.0-alpha.37
"@storybook/store": 7.0.0-alpha.37
"@types/autoprefixer": ^9.7.2
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
"@types/react": ^16.14.23
"@types/react-dom": ^16.9.14
"@types/semver": ^7.3.4
@ -7178,7 +7178,7 @@ __metadata:
"@storybook/preview-web": 7.0.0-alpha.37
"@storybook/source-loader": 7.0.0-alpha.37
"@types/express": ^4.17.13
"@types/node": ^17.0.23
"@types/node": ^16.0.0
"@vitejs/plugin-react": ^2.0.0
browser-assert: ^1.2.1
es-module-lexer: ^0.9.3
@ -7218,7 +7218,7 @@ __metadata:
"@storybook/store": 7.0.0-alpha.37
"@storybook/theming": 7.0.0-alpha.37
"@types/case-sensitive-paths-webpack-plugin": ^2.1.6
"@types/node": ^14.0.10 || ^16.0.0
"@types/node": ^16.0.0
"@types/semver": ^7.3.4
"@types/terser-webpack-plugin": ^5.2.0
"@types/webpack-dev-middleware": ^5.3.0
@ -7474,7 +7474,7 @@ __metadata:
"@types/babel__core": ^7.0.0
"@types/express": ^4.7.0
"@types/mock-fs": ^4.13.0
"@types/node": ^14.0.10 || ^16.0.0
"@types/node": ^16.0.0
"@types/picomatch": ^2.3.0
"@types/pretty-hrtime": ^1.0.0
chalk: ^4.1.0
@ -7543,7 +7543,7 @@ __metadata:
"@storybook/telemetry": 7.0.0-alpha.37
"@types/compression": ^1.7.0
"@types/ip": ^1.1.0
"@types/node": ^14.0.10 || ^16.0.0
"@types/node": ^16.0.0
"@types/node-fetch": ^2.5.7
"@types/pretty-hrtime": ^1.0.0
"@types/semver": ^7.3.4
@ -7596,7 +7596,7 @@ __metadata:
dependencies:
"@storybook/core-common": 7.0.0-alpha.37
"@storybook/node-logger": 7.0.0-alpha.37
"@types/node": ^14.0.10 || ^16.0.0
"@types/node": ^16.0.0
ts-dedent: ^2.0.0
typescript: ~4.6.3
webpack: 5
@ -7799,7 +7799,7 @@ __metadata:
"@storybook/core-common": 7.0.0-alpha.37
"@storybook/html": 7.0.0-alpha.37
"@storybook/preset-html-webpack": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
global: ^4.4.0
react: 16.14.0
react-dom: 16.14.0
@ -7979,7 +7979,7 @@ __metadata:
"@storybook/core-common": 7.0.0-alpha.37
"@storybook/preact": 7.0.0-alpha.37
"@storybook/preset-preact-webpack": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
preact: ^10.5.13
react: 16.14.0
react-dom: 16.14.0
@ -8014,7 +8014,7 @@ __metadata:
resolution: "@storybook/preset-html-webpack@workspace:presets/html-webpack"
dependencies:
"@storybook/core-webpack": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
html-loader: ^3.1.0
react: 16.14.0
react-dom: 16.14.0
@ -8031,7 +8031,7 @@ __metadata:
dependencies:
"@babel/plugin-transform-react-jsx": ^7.12.12
"@storybook/core-webpack": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
preact: ^10.5.13
react: 16.14.0
react-dom: 16.14.0
@ -8054,7 +8054,7 @@ __metadata:
"@storybook/node-logger": 7.0.0-alpha.37
"@storybook/react": 7.0.0-alpha.37
"@storybook/react-docgen-typescript-plugin": 1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
"@types/semver": ^7.3.4
"@types/util-deprecate": ^1.0.0
babel-plugin-add-react-displayname: ^0.0.5
@ -8085,7 +8085,7 @@ __metadata:
"@storybook/core-server": 7.0.0-alpha.37
"@storybook/core-webpack": 7.0.0-alpha.37
"@storybook/server": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
fs-extra: ^9.0.1
global: ^4.4.0
jest-specific-snapshot: ^4.0.0
@ -8125,7 +8125,7 @@ __metadata:
dependencies:
"@storybook/core-webpack": 7.0.0-alpha.37
"@storybook/docs-tools": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
react: 16.14.0
react-dom: 16.14.0
ts-loader: ^9.2.8
@ -8152,7 +8152,7 @@ __metadata:
dependencies:
"@storybook/core-webpack": 7.0.0-alpha.37
"@storybook/docs-tools": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
"@vue/compiler-sfc": ^3.2.33
react: 16.14.0
react-dom: 16.14.0
@ -8179,7 +8179,7 @@ __metadata:
"@babel/plugin-syntax-import-meta": ^7.10.4
"@babel/preset-env": ^7.12.11
"@storybook/core-webpack": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
babel-loader: ^7.0.0 || ^8.0.0
babel-plugin-bundled-import-meta: ^0.3.1
lit-html: 2.0.2
@ -8246,7 +8246,7 @@ __metadata:
"@storybook/client-api": 7.0.0-alpha.37
"@storybook/preview-web": 7.0.0-alpha.37
"@storybook/react": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
"@vitejs/plugin-react": ^2.0.0
ast-types: ^0.14.2
magic-string: ^0.26.1
@ -8266,7 +8266,7 @@ __metadata:
"@storybook/builder-webpack5": 7.0.0-alpha.37
"@storybook/preset-react-webpack": 7.0.0-alpha.37
"@storybook/react": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
jest-specific-snapshot: ^4.0.0
typescript: ~4.6.3
peerDependencies:
@ -8294,7 +8294,7 @@ __metadata:
"@storybook/docs-tools": 7.0.0-alpha.37
"@storybook/store": 7.0.0-alpha.37
"@types/estree": ^0.0.51
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
"@types/util-deprecate": ^1.0.0
acorn: ^7.4.1
acorn-jsx: ^5.3.1
@ -8445,7 +8445,7 @@ __metadata:
"@types/jest": ^26.0.16
"@types/js-yaml": ^3.12.6
"@types/lodash": ^4.14.167
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
"@types/node-cleanup": ^2.1.1
"@types/prompts": 2.0.11
"@types/react": ^16.14.23
@ -8633,7 +8633,7 @@ __metadata:
"@storybook/core-common": 7.0.0-alpha.37
"@storybook/preset-server-webpack": 7.0.0-alpha.37
"@storybook/server": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
react: 16.14.0
react-dom: 16.14.0
typescript: ~4.6.3
@ -8710,7 +8710,7 @@ __metadata:
"@storybook/preview-web": 7.0.0-alpha.37
"@storybook/svelte": 7.0.0-alpha.37
"@sveltejs/vite-plugin-svelte": ^1.0.0
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
magic-string: ^0.26.1
svelte: ^3.0.0
sveltedoc-parser: ^4.2.1
@ -8807,7 +8807,7 @@ __metadata:
"@emotion/use-insertion-effect-with-fallbacks": ^1.0.0
"@storybook/client-logger": 7.0.0-alpha.37
"@types/fs-extra": ^9.0.6
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
deep-object-diff: ^1.1.0
fs-extra: ^9.0.1
global: ^4.4.0
@ -8910,7 +8910,7 @@ __metadata:
"@storybook/core-common": 7.0.0-alpha.37
"@storybook/preset-vue-webpack": 7.0.0-alpha.37
"@storybook/vue": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
react: 16.14.0
react-dom: 16.14.0
typescript: ~4.6.3
@ -8939,7 +8939,7 @@ __metadata:
"@storybook/core-server": 7.0.0-alpha.37
"@storybook/preview-web": 7.0.0-alpha.37
"@storybook/vue3": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
"@vitejs/plugin-vue": ^3.0.0
magic-string: ^0.26.1
typescript: ~4.6.3
@ -8956,7 +8956,7 @@ __metadata:
"@storybook/core-common": 7.0.0-alpha.37
"@storybook/preset-vue3-webpack": 7.0.0-alpha.37
"@storybook/vue3": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
"@vue/compiler-sfc": 3.0.0
react: 16.14.0
react-dom: 16.14.0
@ -9030,7 +9030,7 @@ __metadata:
"@storybook/node-logger": 7.0.0-alpha.37
"@storybook/preview-web": 7.0.0-alpha.37
"@storybook/web-components": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
"@vitejs/plugin-vue": ^3.0.3
magic-string: ^0.26.1
typescript: ~4.6.3
@ -9047,7 +9047,7 @@ __metadata:
"@storybook/core-common": 7.0.0-alpha.37
"@storybook/preset-web-components-webpack": 7.0.0-alpha.37
"@storybook/web-components": 7.0.0-alpha.37
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
lit-html: 2.0.2
react: 16.14.0
react-dom: 16.14.0
@ -9909,20 +9909,13 @@ __metadata:
languageName: node
linkType: hard
"@types/node@npm:^14.0.10 || ^16.0.0, @types/node@npm:^14.14.20 || ^16.0.0":
"@types/node@npm:^16.0.0":
version: 16.11.65
resolution: "@types/node@npm:16.11.65"
checksum: 5d66c2e0119ff194b2e196b0016d5d083fd332a114cea04822fbc22a7733b2feba0db9de380a289f457312a24b2f313396084b682d670038f5b2ced2d14fc659
languageName: node
linkType: hard
"@types/node@npm:^17.0.23":
version: 17.0.45
resolution: "@types/node@npm:17.0.45"
checksum: 0db377133d709b33a47892581a21a41cd7958f22723a3cc6c71d55ac018121382de42fbfc7970d5ae3e7819dbe5f40e1c6a5174aedf7e7964e9cb8fa72b580b0
languageName: node
linkType: hard
"@types/normalize-package-data@npm:^2.4.0":
version: 2.4.1
resolution: "@types/normalize-package-data@npm:2.4.1"

View File

@ -2,7 +2,7 @@
publish = "code/built-storybooks"
command = "yarn task --task compile --start-from=auto --no-link && cd code && yarn build-storybooks --all"
[build.environment]
NODE_VERSION = "14"
NODE_VERSION = "16"
YARN_VERSION = "1.22.10"
DOTENV_DISPLAY_WARNING = "none"
STORYBOOK_EXAMPLE_APP ="true"

View File

@ -6,7 +6,7 @@ const withTests = {
shippedProposals: true,
useBuiltIns: 'usage',
corejs: '3',
targets: { node: 'current' },
targets: { node: '16' },
},
],
],
@ -23,7 +23,7 @@ const modules = process.env.BABEL_MODE === 'cjs' ? 'auto' : false;
// FIXME: optional chaining introduced in chrome 80, not supported by wepback4
// https://github.com/webpack/webpack/issues/10227#issuecomment-642734920
const targets = process.env.BABEL_MODE === 'esm' ? { chrome: '100' } : { node: 'current' };
const targets = process.env.BABEL_MODE === 'esm' ? { chrome: '100' } : { node: '16' };
module.exports = {
compact: false,
@ -147,7 +147,7 @@ module.exports = {
shippedProposals: true,
useBuiltIns: 'usage',
targets: {
node: '14',
node: '16',
},
modules,
corejs: '3',
@ -179,7 +179,7 @@ module.exports = {
shippedProposals: true,
useBuiltIns: 'usage',
targets: {
node: '14',
node: '16',
},
corejs: '3',
modules: false,

View File

@ -80,7 +80,7 @@
"@types/fs-extra": "^9.0.6",
"@types/jest": "^26.0.16",
"@types/js-yaml": "^3.12.6",
"@types/node": "^14.14.20 || ^16.0.0",
"@types/node": "^16.0.0",
"@types/node-cleanup": "^2.1.1",
"@types/node-fetch": "^2.5.7",
"@types/prompts": "2.0.11",

View File

@ -3367,7 +3367,7 @@ __metadata:
"@types/jest": ^26.0.16
"@types/js-yaml": ^3.12.6
"@types/lodash": ^4
"@types/node": ^14.14.20 || ^16.0.0
"@types/node": ^16.0.0
"@types/node-cleanup": ^2.1.1
"@types/node-fetch": ^2.5.7
"@types/prompts": 2.0.11
@ -3979,10 +3979,10 @@ __metadata:
languageName: node
linkType: hard
"@types/node@npm:^14.14.20 || ^16.0.0":
version: 16.11.64
resolution: "@types/node@npm:16.11.64"
checksum: 4b5ee37e3d2dc3364abbffee7e9f4c27fc22b44305ff5920fcc1b7fe08343bf113fface6a565c2406f77f8818d5ddcfb31652df6a43e4ab971976256d176bf37
"@types/node@npm:^16.0.0":
version: 16.11.65
resolution: "@types/node@npm:16.11.65"
checksum: 5d66c2e0119ff194b2e196b0016d5d083fd332a114cea04822fbc22a7733b2feba0db9de380a289f457312a24b2f313396084b682d670038f5b2ced2d14fc659
languageName: node
linkType: hard