From c8a60565b01f44659ecbd7af9ab7891b7e075456 Mon Sep 17 00:00:00 2001 From: Andrew Lisowski Date: Wed, 16 Sep 2020 16:45:51 -0700 Subject: [PATCH 1/6] upgrade typescript + babel --- addons/a11y/package.json | 6 +- addons/actions/package.json | 6 +- addons/backgrounds/package.json | 6 +- addons/cssresources/package.json | 6 +- addons/design-assets/package.json | 6 +- addons/docs/package.json | 19 +- .../8894-9511-ts-forward-ref/docgen.snapshot | 2 +- .../9586-js-react-memo/docgen.snapshot | 2 +- addons/essentials/package.json | 6 +- addons/events/package.json | 6 +- addons/graphql/package.json | 10 +- addons/jest/package.json | 6 +- addons/knobs/package.json | 6 +- addons/links/package.json | 6 +- addons/queryparams/package.json | 6 +- .../storyshots/storyshots-core/package.json | 6 +- .../storyshots-puppeteer/package.json | 6 +- addons/storysource/package.json | 11 +- addons/viewport/package.json | 6 +- app/angular/package.json | 8 +- app/ember/package.json | 11 +- app/html/package.json | 6 +- app/marko/package.json | 11 +- app/mithril/package.json | 10 +- app/preact/package.json | 8 +- app/rax/package.json | 11 +- app/react/package.json | 15 +- app/riot/package.json | 19 +- app/server/package.json | 11 +- app/svelte/package.json | 6 +- app/vue/package.json | 6 +- app/web-components/package.json | 10 +- dev-kits/addon-decorator/package.json | 4 +- dev-kits/addon-parameter/package.json | 4 +- dev-kits/addon-preview-wrapper/package.json | 4 +- dev-kits/addon-roundtrip/package.json | 4 +- examples/ember-cli/package.json | 2 +- examples/preact-kitchen-sink/package.json | 4 +- examples/rax-kitchen-sink/package.json | 2 +- examples/riot-kitchen-sink/package.json | 2 +- examples/vue-kitchen-sink/package.json | 2 +- lib/addons/package.json | 6 +- lib/api/package.json | 6 +- lib/channel-postmessage/package.json | 6 +- lib/channel-websocket/package.json | 6 +- lib/channels/package.json | 6 +- lib/cli/package.json | 15 +- lib/cli/versions.json | 2 +- lib/client-api/package.json | 6 +- lib/client-logger/package.json | 6 +- lib/codemod/package.json | 11 +- lib/components/package.json | 6 +- lib/core-events/package.json | 6 +- lib/core/package.json | 53 +++-- lib/node-logger/package.json | 6 +- lib/postinstall/package.json | 6 +- lib/router/package.json | 6 +- lib/source-loader/package.json | 11 +- lib/theming/package.json | 6 +- lib/ui/package.json | 8 +- package.json | 26 +-- scripts/utils/compile-tsc.js | 3 +- yarn.lock | 209 +++++++++++++++--- 63 files changed, 460 insertions(+), 244 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index 2bc7fb532e1..eb0533bff5c 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -27,7 +27,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -61,9 +61,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/actions/package.json b/addons/actions/package.json index 424a80b5ab7..98add0244da 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -58,9 +58,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index 09ea1f2cc34..a589d70f305 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -26,7 +26,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -52,9 +52,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index b660d0bc7af..979246663fb 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -26,7 +26,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -53,9 +53,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/design-assets/package.json b/addons/design-assets/package.json index 5d3e1c9def0..203dbdf3bf9 100644 --- a/addons/design-assets/package.json +++ b/addons/design-assets/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -53,9 +53,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/docs/package.json b/addons/docs/package.json index a78baab7647..a74467199d3 100644 --- a/addons/docs/package.json +++ b/addons/docs/package.json @@ -32,17 +32,17 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "createDlls": "node -r esm ./scripts/createDlls.js", "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@babel/generator": "^7.9.6", - "@babel/parser": "^7.9.6", - "@babel/plugin-transform-react-jsx": "^7.3.0", - "@babel/preset-env": "^7.9.6", + "@babel/generator": "^7.11.5", + "@babel/parser": "^7.11.5", + "@babel/plugin-transform-react-jsx": "^7.10.4", + "@babel/preset-env": "^7.11.5", "@jest/transform": "^26.0.0", "@mdx-js/loader": "^1.5.1", "@mdx-js/mdx": "^1.5.1", @@ -66,6 +66,7 @@ "doctrine": "^3.0.0", "escodegen": "^1.12.0", "fast-deep-equal": "^3.1.1", + "glob": "^7.1.6", "global": "^4.3.2", "html-tags": "^3.1.0", "js-string-escape": "^1.0.1", @@ -83,7 +84,7 @@ }, "devDependencies": { "@angular/core": "^9.1.0", - "@babel/core": "^7.9.6", + "@babel/core": "^7.11.5", "@emotion/core": "^10.0.20", "@emotion/styled": "^10.0.17", "@storybook/react": "6.1.0-alpha.10", @@ -118,7 +119,7 @@ "zone.js": "^0.10.2" }, "peerDependencies": { - "@babel/core": "^7.0.0-0", + "@babel/core": "^7.11.5", "@storybook/vue": "6.1.0-alpha.10", "babel-loader": "^8.0.0", "sveltedoc-parser": "^3.0.4", @@ -144,9 +145,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/docgen.snapshot b/addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/docgen.snapshot index 36a0021a621..3f60a5fc45f 100644 --- a/addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/docgen.snapshot +++ b/addons/docs/src/frameworks/react/__testfixtures__/8894-9511-ts-forward-ref/docgen.snapshot @@ -2,7 +2,7 @@ exports[`react component properties 8894-9511-ts-forward-ref 1`] = ` "import React, { forwardRef } from 'react'; -const Button = forwardRef(({ +const Button = /*#__PURE__*/forwardRef(({ disabled = false, variant = 'small', children diff --git a/addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/docgen.snapshot b/addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/docgen.snapshot index 67c39e90300..e31e4ae1258 100644 --- a/addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/docgen.snapshot +++ b/addons/docs/src/frameworks/react/__testfixtures__/9586-js-react-memo/docgen.snapshot @@ -18,7 +18,7 @@ Button.propTypes = { label: PropTypes.string.isRequired, onClick: PropTypes.func.isRequired }; -const MemoButton = React.memo(Button); +const MemoButton = /*#__PURE__*/React.memo(Button); export const component = MemoButton; Button.__docgenInfo = { \\"description\\": \\"\\", diff --git a/addons/essentials/package.json b/addons/essentials/package.json index 08bee4c4a2f..6d3ea6bb0a8 100644 --- a/addons/essentials/package.json +++ b/addons/essentials/package.json @@ -22,7 +22,7 @@ "files": [ "dist/**/*", "README.md", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -69,9 +69,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/events/package.json b/addons/events/package.json index 221f9ea3c50..fe59c7fa672 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -25,7 +25,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -54,9 +54,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 6512334bd29..8e717475689 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -23,14 +23,14 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@babel/core": "^7.9.0", - "@babel/plugin-transform-classes": "^7.9.2", + "@babel/core": "^7.11.5", + "@babel/plugin-transform-classes": "^7.10.4", "@storybook/addons": "6.1.0-alpha.10", "@storybook/api": "6.1.0-alpha.10", "@types/webpack": "^4.41.9", @@ -50,9 +50,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/jest/package.json b/addons/jest/package.json index 2975077634a..ce70960c740 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -29,7 +29,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -56,9 +56,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 46c7be7d721..638c4eb3a2e 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -65,9 +65,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/links/package.json b/addons/links/package.json index 6998df83718..8d00a5425c2 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -53,9 +53,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/queryparams/package.json b/addons/queryparams/package.json index 7caa8cce0e4..2e7f1da3503 100644 --- a/addons/queryparams/package.json +++ b/addons/queryparams/package.json @@ -24,7 +24,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -52,9 +52,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index d50f1dc9499..3d37c22b519 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "build-storybook": "build-storybook", @@ -65,9 +65,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index 51bcca4b261..ed4e8db30da 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../../scripts/prepare.js" @@ -55,9 +55,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/addons/storysource/package.json b/addons/storysource/package.json index 62955dfdaab..f008a3ef35c 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -53,5 +53,12 @@ "publishConfig": { "access": "public" }, - "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23" + "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", + "typesVersions": { + "<3.8": { + "*": [ + "ts3.7/*" + ] + } + } } diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 1b1f85c53a0..227f12dc7f9 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -48,9 +48,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/app/angular/package.json b/app/angular/package.json index 6ba79e257b3..efbdab45bb5 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -65,7 +65,7 @@ "@angular/platform-browser-dynamic": ">=6.0.0", "@babel/core": "*", "rxjs": "^6.0.0", - "typescript": "^3.4.0", + "typescript": "^3.9.3", "zone.js": "^0.8.29 || ^0.9.0 || ^0.10.0" }, "engines": { @@ -76,9 +76,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/app/ember/package.json b/app/ember/package.json index 7322aaa8de0..6c467b3b297 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -25,7 +25,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -50,5 +50,12 @@ "publishConfig": { "access": "public" }, - "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23" + "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", + "typesVersions": { + "<3.8": { + "*": [ + "ts3.7/*" + ] + } + } } diff --git a/app/html/package.json b/app/html/package.json index 10bcf8f90c9..508a29c4fe1 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -54,9 +54,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/app/marko/package.json b/app/marko/package.json index e0470759f1b..0f470d8f357 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -27,7 +27,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -52,5 +52,12 @@ "publishConfig": { "access": "public" }, - "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23" + "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", + "typesVersions": { + "<3.8": { + "*": [ + "ts3.7/*" + ] + } + } } diff --git a/app/mithril/package.json b/app/mithril/package.json index 92c97d8f965..462ef85429b 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -28,14 +28,14 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@babel/core": "^7.9.6", - "@babel/plugin-transform-react-jsx": "^7.3.0", + "@babel/core": "^7.11.5", + "@babel/plugin-transform-react-jsx": "^7.10.4", "@storybook/addons": "6.1.0-alpha.10", "@storybook/core": "6.1.0-alpha.10", "@types/mithril": "^2.0.0", @@ -60,9 +60,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/app/preact/package.json b/app/preact/package.json index b5ce675d3b2..9cc295a9177 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -28,13 +28,13 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@babel/plugin-transform-react-jsx": "^7.3.0", + "@babel/plugin-transform-react-jsx": "^7.10.4", "@storybook/addons": "6.1.0-alpha.10", "@storybook/core": "6.1.0-alpha.10", "@types/webpack-env": "^1.15.2", @@ -58,9 +58,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/app/rax/package.json b/app/rax/package.json index d1435b5a0a4..066c13127bb 100644 --- a/app/rax/package.json +++ b/app/rax/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -52,5 +52,12 @@ "publishConfig": { "access": "public" }, - "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23" + "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", + "typesVersions": { + "<3.8": { + "*": [ + "ts3.7/*" + ] + } + } } diff --git a/app/react/package.json b/app/react/package.json index 0c896c4cbfd..c9783c141b7 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -28,14 +28,14 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@babel/preset-flow": "^7.0.0", - "@babel/preset-react": "^7.0.0", + "@babel/preset-flow": "^7.10.4", + "@babel/preset-react": "^7.10.4", "@storybook/addons": "6.1.0-alpha.10", "@storybook/core": "6.1.0-alpha.10", "@storybook/node-logger": "6.1.0-alpha.10", @@ -63,7 +63,7 @@ "@types/webpack": "^4.41.12" }, "peerDependencies": { - "@babel/core": "^7.0.1" + "@babel/core": "^7.11.5" }, "engines": { "node": ">=8.0.0" @@ -73,9 +73,12 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { + "types-6-0": [ + "ts3.7/dist/client/preview/types-6-0.d.ts" + ], "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/app/riot/package.json b/app/riot/package.json index 2142e91ff2b..2c1d3367a0b 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -28,7 +28,7 @@ "standalone.js", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -42,10 +42,10 @@ "ts-dedent": "^1.1.1" }, "devDependencies": { - "@babel/plugin-transform-modules-commonjs": "^7.9.6", - "@babel/preset-env": "^7.9.6", - "@babel/preset-flow": "^7.0.0", - "@babel/preset-react": "^7.7.0" + "@babel/plugin-transform-modules-commonjs": "^7.10.4", + "@babel/preset-env": "^7.11.5", + "@babel/preset-flow": "^7.10.4", + "@babel/preset-react": "^7.10.4" }, "peerDependencies": { "@babel/core": "*", @@ -61,5 +61,12 @@ "publishConfig": { "access": "public" }, - "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23" + "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", + "typesVersions": { + "<3.8": { + "*": [ + "ts3.7/*" + ] + } + } } diff --git a/app/server/package.json b/app/server/package.json index ee1ce1eb76d..18c35c3ded0 100644 --- a/app/server/package.json +++ b/app/server/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -54,5 +54,12 @@ "publishConfig": { "access": "public" }, - "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23" + "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", + "typesVersions": { + "<3.8": { + "*": [ + "ts3.7/*" + ] + } + } } diff --git a/app/svelte/package.json b/app/svelte/package.json index 72c12dc18d2..f586868e704 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -60,9 +60,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/app/vue/package.json b/app/vue/package.json index 7de9867760f..8e2d24cc3a4 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -70,9 +70,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/app/web-components/package.json b/app/web-components/package.json index 9490c4bc5c0..5adf9100a65 100644 --- a/app/web-components/package.json +++ b/app/web-components/package.json @@ -30,14 +30,14 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@babel/plugin-syntax-dynamic-import": "^7.2.0", - "@babel/plugin-syntax-import-meta": "^7.2.0", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/plugin-syntax-import-meta": "^7.10.4", "@babel/preset-env": "^7.11.5", "@storybook/addons": "6.1.0-alpha.10", "@storybook/core": "6.1.0-alpha.10", @@ -64,9 +64,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/dev-kits/addon-decorator/package.json b/dev-kits/addon-decorator/package.json index a65306644dc..9f11bed2192 100644 --- a/dev-kits/addon-decorator/package.json +++ b/dev-kits/addon-decorator/package.json @@ -34,9 +34,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/dev-kits/addon-parameter/package.json b/dev-kits/addon-parameter/package.json index b7421e70443..f71f5ec077c 100644 --- a/dev-kits/addon-parameter/package.json +++ b/dev-kits/addon-parameter/package.json @@ -40,9 +40,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/dev-kits/addon-preview-wrapper/package.json b/dev-kits/addon-preview-wrapper/package.json index 723c613c9cc..df19c6c735f 100644 --- a/dev-kits/addon-preview-wrapper/package.json +++ b/dev-kits/addon-preview-wrapper/package.json @@ -32,9 +32,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/dev-kits/addon-roundtrip/package.json b/dev-kits/addon-roundtrip/package.json index d79dc911bc2..0bbabb6b95d 100644 --- a/dev-kits/addon-roundtrip/package.json +++ b/dev-kits/addon-roundtrip/package.json @@ -41,9 +41,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/examples/ember-cli/package.json b/examples/ember-cli/package.json index ef900805e1c..7500756d010 100644 --- a/examples/ember-cli/package.json +++ b/examples/ember-cli/package.json @@ -15,7 +15,7 @@ "ember-template-compiler": "^1.9.0-alpha" }, "devDependencies": { - "@babel/core": "^7.9.6", + "@babel/core": "^7.11.5", "@ember/optional-features": "^1.3.0", "@storybook/addon-a11y": "6.1.0-alpha.10", "@storybook/addon-actions": "6.1.0-alpha.10", diff --git a/examples/preact-kitchen-sink/package.json b/examples/preact-kitchen-sink/package.json index e63b38097bb..2c9f6664f80 100644 --- a/examples/preact-kitchen-sink/package.json +++ b/examples/preact-kitchen-sink/package.json @@ -13,8 +13,8 @@ "preact": "^8.4.2" }, "devDependencies": { - "@babel/core": "^7.9.6", - "@babel/plugin-transform-runtime": "^7.9.6", + "@babel/core": "^7.11.5", + "@babel/plugin-transform-runtime": "^7.11.5", "@storybook/addon-a11y": "6.1.0-alpha.10", "@storybook/addon-actions": "6.1.0-alpha.10", "@storybook/addon-backgrounds": "6.1.0-alpha.10", diff --git a/examples/rax-kitchen-sink/package.json b/examples/rax-kitchen-sink/package.json index ae424dce4a7..19bca1b0126 100644 --- a/examples/rax-kitchen-sink/package.json +++ b/examples/rax-kitchen-sink/package.json @@ -19,7 +19,7 @@ }, "devDependencies": { "@alib/build-scripts": "^0.1.8", - "@babel/preset-react": "^7.7.4", + "@babel/preset-react": "^7.10.4", "@storybook/addon-a11y": "6.1.0-alpha.10", "@storybook/addon-actions": "6.1.0-alpha.10", "@storybook/addon-backgrounds": "6.1.0-alpha.10", diff --git a/examples/riot-kitchen-sink/package.json b/examples/riot-kitchen-sink/package.json index 59959df758f..0e2edb3997f 100644 --- a/examples/riot-kitchen-sink/package.json +++ b/examples/riot-kitchen-sink/package.json @@ -14,7 +14,7 @@ "riot-hot-reload": "^1.0.0" }, "devDependencies": { - "@babel/core": "^7.9.6", + "@babel/core": "^7.11.5", "@storybook/addon-a11y": "6.1.0-alpha.10", "@storybook/addon-actions": "6.1.0-alpha.10", "@storybook/addon-backgrounds": "6.1.0-alpha.10", diff --git a/examples/vue-kitchen-sink/package.json b/examples/vue-kitchen-sink/package.json index 12f0ce215c3..2f57323acb1 100644 --- a/examples/vue-kitchen-sink/package.json +++ b/examples/vue-kitchen-sink/package.json @@ -13,7 +13,7 @@ "vuex": "^3.1.0" }, "devDependencies": { - "@babel/core": "^7.9.6", + "@babel/core": "^7.11.5", "@storybook/addon-a11y": "6.1.0-alpha.10", "@storybook/addon-actions": "6.1.0-alpha.10", "@storybook/addon-backgrounds": "6.1.0-alpha.10", diff --git a/lib/addons/package.json b/lib/addons/package.json index f6163e42133..a2c801213b4 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -45,9 +45,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/api/package.json b/lib/api/package.json index 586f4891b79..b4b18541872 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -21,7 +21,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js", @@ -61,9 +61,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 865012a0281..03f17a98431 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -41,9 +41,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index 9622b8ecbee..ec8c3cace10 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -38,9 +38,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/channels/package.json b/lib/channels/package.json index c5f11077353..6b21f2062e5 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -37,9 +37,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/cli/package.json b/lib/cli/package.json index ecc16283bf7..d9cdb8b64e7 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*", + "ts3.7/**/*", "versions.json" ], "scripts": { @@ -37,8 +37,8 @@ "postversion": "node -r esm ./scripts/generate-sb-packages-versions.js" }, "dependencies": { - "@babel/core": "^7.9.6", - "@babel/preset-env": "^7.9.6", + "@babel/core": "^7.11.5", + "@babel/preset-env": "^7.11.5", "@storybook/codemod": "6.1.0-alpha.10", "@storybook/node-logger": "6.1.0-alpha.10", "@storybook/semver": "^7.3.2", @@ -76,5 +76,12 @@ "publishConfig": { "access": "public" }, - "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23" + "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", + "typesVersions": { + "<3.8": { + "*": [ + "ts3.7/*" + ] + } + } } diff --git a/lib/cli/versions.json b/lib/cli/versions.json index 4158f91747d..ee68740ca82 100644 --- a/lib/cli/versions.json +++ b/lib/cli/versions.json @@ -52,4 +52,4 @@ "@storybook/ui": "6.1.0-alpha.10", "@storybook/vue": "6.1.0-alpha.10", "@storybook/web-components": "6.1.0-alpha.10" -} \ No newline at end of file +} diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 1a3a099cb9b..58bf6015848 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -53,9 +53,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index 1b70f936f68..abab0767af4 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -36,9 +36,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/codemod/package.json b/lib/codemod/package.json index cfd09f9396c..4c257f8a751 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -47,5 +47,12 @@ "publishConfig": { "access": "public" }, - "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23" + "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", + "typesVersions": { + "<3.8": { + "*": [ + "ts3.7/*" + ] + } + } } diff --git a/lib/components/package.json b/lib/components/package.json index 26e05f733e0..8c144874121 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -62,9 +62,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/core-events/package.json b/lib/core-events/package.json index de07e3fbb75..83e71218250 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -35,9 +35,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/core/package.json b/lib/core/package.json index 6ad22d29355..5eb59f4a4b8 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -24,34 +24,33 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" }, "dependencies": { - "@babel/core": "^7.8.3", - "@babel/plugin-proposal-class-properties": "^7.8.3", - "@babel/plugin-proposal-decorators": "^7.8.3", - "@babel/plugin-proposal-export-default-from": "^7.8.3", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.1", - "@babel/plugin-proposal-object-rest-spread": "^7.9.6", - "@babel/plugin-proposal-optional-chaining": "^7.10.1", - "@babel/plugin-proposal-private-methods": "^7.8.3", + "@babel/plugin-proposal-class-properties": "^7.10.4", + "@babel/plugin-proposal-decorators": "^7.10.5", + "@babel/plugin-proposal-export-default-from": "^7.10.4", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", + "@babel/plugin-proposal-object-rest-spread": "^7.11.0", + "@babel/plugin-proposal-optional-chaining": "^7.11.0", + "@babel/plugin-proposal-private-methods": "^7.10.4", "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-transform-arrow-functions": "^7.8.3", - "@babel/plugin-transform-block-scoping": "^7.8.3", - "@babel/plugin-transform-classes": "^7.9.5", - "@babel/plugin-transform-destructuring": "^7.9.5", - "@babel/plugin-transform-for-of": "^7.9.0", - "@babel/plugin-transform-parameters": "^7.9.5", - "@babel/plugin-transform-shorthand-properties": "^7.8.3", - "@babel/plugin-transform-spread": "^7.8.3", - "@babel/plugin-transform-template-literals": "^7.8.3", - "@babel/preset-env": "^7.9.6", - "@babel/preset-react": "^7.8.3", - "@babel/preset-typescript": "^7.9.0", - "@babel/register": "^7.10.5", + "@babel/plugin-transform-arrow-functions": "^7.10.4", + "@babel/plugin-transform-block-scoping": "^7.11.1", + "@babel/plugin-transform-classes": "^7.10.4", + "@babel/plugin-transform-destructuring": "^7.10.4", + "@babel/plugin-transform-for-of": "^7.10.4", + "@babel/plugin-transform-parameters": "^7.10.5", + "@babel/plugin-transform-shorthand-properties": "^7.10.4", + "@babel/plugin-transform-spread": "^7.11.0", + "@babel/plugin-transform-template-literals": "^7.10.5", + "@babel/preset-env": "^7.11.5", + "@babel/preset-react": "^7.10.4", + "@babel/preset-typescript": "^7.10.4", + "@babel/register": "^7.11.5", "@storybook/addons": "6.1.0-alpha.10", "@storybook/api": "6.1.0-alpha.10", "@storybook/channel-postmessage": "6.1.0-alpha.10", @@ -128,6 +127,7 @@ "util-deprecate": "^1.0.2", "webpack": "^4.43.0", "webpack-dev-middleware": "^3.7.0", + "webpack-filter-warnings-plugin": "^1.2.1", "webpack-hot-middleware": "^2.25.0", "webpack-virtual-modules": "^0.2.2" }, @@ -137,5 +137,12 @@ "publishConfig": { "access": "public" }, - "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23" + "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", + "typesVersions": { + "<3.8": { + "*": [ + "ts3.7/*" + ] + } + } } diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 7915569fdc0..4022aab24f6 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -42,9 +42,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/postinstall/package.json b/lib/postinstall/package.json index 3127411e244..82b207877c6 100644 --- a/lib/postinstall/package.json +++ b/lib/postinstall/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -41,9 +41,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/router/package.json b/lib/router/package.json index 6e7079b5565..96fc5103660 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -42,9 +42,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/source-loader/package.json b/lib/source-loader/package.json index 3d6635b8a1f..8e9d07bd714 100644 --- a/lib/source-loader/package.json +++ b/lib/source-loader/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -45,5 +45,12 @@ "publishConfig": { "access": "public" }, - "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23" + "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", + "typesVersions": { + "<3.8": { + "*": [ + "ts3.7/*" + ] + } + } } diff --git a/lib/theming/package.json b/lib/theming/package.json index 4f47b8c5a8b..6fb2d627b29 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -48,9 +48,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/lib/ui/package.json b/lib/ui/package.json index b847c3f18fd..2f36e814ca7 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -21,7 +21,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.5/**/*" + "ts3.7/**/*" ], "scripts": { "createDlls": "node -r esm ./scripts/createDlls.js", @@ -61,7 +61,7 @@ "store2": "^2.7.1" }, "devDependencies": { - "@babel/core": "^7.9.6", + "@babel/core": "^7.11.5", "@storybook/addon-actions": "6.1.0-alpha.10", "@storybook/addon-knobs": "6.1.0-alpha.10", "@storybook/react": "6.1.0-alpha.10", @@ -78,9 +78,9 @@ }, "gitHead": "57798a108e183d97f94fd4cc396e45e1d4b04d23", "typesVersions": { - "<=3.5": { + "<3.8": { "*": [ - "ts3.5/*" + "ts3.7/*" ] } } diff --git a/package.json b/package.json index 36681456fdc..21235960782 100644 --- a/package.json +++ b/package.json @@ -100,19 +100,19 @@ "@angular/forms": "^9.1.0", "@angular/platform-browser": "^9.1.0", "@angular/platform-browser-dynamic": "^9.1.0", - "@babel/cli": "^7.8.4", - "@babel/core": "^7.9.6", - "@babel/plugin-proposal-class-properties": "^7.3.3", - "@babel/plugin-proposal-decorators": "^7.3.0", - "@babel/plugin-proposal-export-default-from": "^7.2.0", - "@babel/plugin-proposal-object-rest-spread": "^7.9.6", - "@babel/plugin-proposal-private-methods": "^7.3.3", - "@babel/plugin-syntax-dynamic-import": "^7.2.0", - "@babel/preset-env": "^7.9.6", - "@babel/preset-flow": "^7.0.0", - "@babel/preset-react": "^7.0.0", - "@babel/preset-typescript": "^7.3.3", - "@babel/runtime": "^7.9.6", + "@babel/cli": "^7.11.5", + "@babel/core": "^7.11.5", + "@babel/plugin-proposal-class-properties": "^7.10.4", + "@babel/plugin-proposal-decorators": "^7.10.5", + "@babel/plugin-proposal-export-default-from": "^7.10.4", + "@babel/plugin-proposal-object-rest-spread": "^7.11.0", + "@babel/plugin-proposal-private-methods": "^7.10.4", + "@babel/plugin-syntax-dynamic-import": "^7.8.3", + "@babel/preset-env": "^7.11.5", + "@babel/preset-flow": "^7.10.4", + "@babel/preset-react": "^7.10.4", + "@babel/preset-typescript": "^7.10.4", + "@babel/runtime": "^7.11.2", "@emotion/snapshot-serializer": "^0.8.2", "@storybook/eslint-config-storybook": "^2.4.0", "@storybook/linter-config": "^2.5.0", diff --git a/scripts/utils/compile-tsc.js b/scripts/utils/compile-tsc.js index 4d8de79dda9..53c2016cfc0 100644 --- a/scripts/utils/compile-tsc.js +++ b/scripts/utils/compile-tsc.js @@ -28,7 +28,7 @@ function getCommand(watch) { args.push('-w', '--preserveWatchOutput'); } - return `${tsc} ${args.join(' ')} && ${downlevelDts} dist ts3.5/dist`; + return `${tsc} ${args.join(' ')} && ${downlevelDts} dist ts3.7/dist`; } function handleExit(code, stderr, errorCallback) { @@ -36,6 +36,7 @@ function handleExit(code, stderr, errorCallback) { if (errorCallback && typeof errorCallback === 'function') { errorCallback(stderr); } + shell.exit(code); } } diff --git a/yarn.lock b/yarn.lock index 5bd9118ab5e..2f216734dbb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -429,16 +429,16 @@ loader-utils "^1.2.3" webpack "^4.41.4" -"@babel/cli@^7.8.4": - version "7.8.4" - resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.8.4.tgz#505fb053721a98777b2b175323ea4f090b7d3c1c" - integrity sha512-XXLgAm6LBbaNxaGhMAznXXaxtCWfuv6PIDJ9Alsy9JYTOh+j2jJz+L/162kkfU1j/pTSxK1xGmlwI4pdIMkoag== +"@babel/cli@^7.11.5": + version "7.11.6" + resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.11.6.tgz#1fcbe61c2a6900c3539c06ee58901141f3558482" + integrity sha512-+w7BZCvkewSmaRM6H4L2QM3RL90teqEIHDIFXAmrW33+0jhlymnDAEdqVeCZATvxhQuio1ifoGVlJJbIiH9Ffg== dependencies: commander "^4.0.1" convert-source-map "^1.1.0" fs-readdir-recursive "^1.1.0" glob "^7.0.0" - lodash "^4.17.13" + lodash "^4.17.19" make-dir "^2.1.0" slash "^2.0.0" source-map "^0.5.0" @@ -546,7 +546,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/core@7.9.6", "@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.2.2", "@babel/core@^7.3.4", "@babel/core@^7.4.4", "@babel/core@^7.4.5", "@babel/core@^7.5.5", "@babel/core@^7.7.5", "@babel/core@^7.8.3", "@babel/core@^7.8.4", "@babel/core@^7.9.0", "@babel/core@^7.9.6": +"@babel/core@7.9.6", "@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.2.2", "@babel/core@^7.3.4", "@babel/core@^7.4.4", "@babel/core@^7.4.5", "@babel/core@^7.5.5", "@babel/core@^7.7.5", "@babel/core@^7.8.3", "@babel/core@^7.8.4", "@babel/core@^7.9.0": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.9.6.tgz#d9aa1f580abf3b2286ef40b6904d390904c63376" integrity sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg== @@ -568,7 +568,7 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/core@^7.11.0": +"@babel/core@^7.11.0", "@babel/core@^7.11.5", "@babel/core@^7.9.6": version "7.11.6" resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.11.6.tgz#3a9455dc7387ff1bac45770650bc13ba04a15651" integrity sha512-Wpcv03AGnmkgm6uS6k8iwhIwTrcP0m17TL1n1sy7qD0qelDu4XNeW0dN0mHfa+Gei211yDaLoEe/VlbXQzM4Bg== @@ -649,6 +649,15 @@ "@babel/helper-explode-assignable-expression" "^7.8.3" "@babel/types" "^7.8.3" +"@babel/helper-builder-react-jsx-experimental@^7.10.4", "@babel/helper-builder-react-jsx-experimental@^7.11.5": + version "7.11.5" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.11.5.tgz#4ea43dd63857b0a35cd1f1b161dc29b43414e79f" + integrity sha512-Vc4aPJnRZKWfzeCBsqTBnzulVNjABVdahSPhtdMD3Vs80ykx4a87jTHtF/VR+alSrDmNvat7l13yrRHauGcHVw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/helper-module-imports" "^7.10.4" + "@babel/types" "^7.11.5" + "@babel/helper-builder-react-jsx-experimental@^7.9.0": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx-experimental/-/helper-builder-react-jsx-experimental-7.9.5.tgz#0b4b3e04e6123f03b404ca4dfd6528fe6bb92fe3" @@ -658,6 +667,14 @@ "@babel/helper-module-imports" "^7.8.3" "@babel/types" "^7.9.5" +"@babel/helper-builder-react-jsx@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.10.4.tgz#8095cddbff858e6fa9c326daee54a2f2732c1d5d" + integrity sha512-5nPcIZ7+KKDxT1427oBivl9V9YTal7qk0diccnh7RrcgrT/pGFOjgGw1dgryyx1GvHEpXVfoDF6Ak3rTiWh8Rg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/types" "^7.10.4" + "@babel/helper-builder-react-jsx@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/helper-builder-react-jsx/-/helper-builder-react-jsx-7.9.0.tgz#16bf391990b57732700a3278d4d9a81231ea8d32" @@ -1081,7 +1098,7 @@ "@babel/helper-create-class-features-plugin" "^7.2.0" "@babel/helper-plugin-utils" "^7.0.0" -"@babel/plugin-proposal-class-properties@7.8.3", "@babel/plugin-proposal-class-properties@^7.1.0", "@babel/plugin-proposal-class-properties@^7.3.3", "@babel/plugin-proposal-class-properties@^7.5.5", "@babel/plugin-proposal-class-properties@^7.8.3": +"@babel/plugin-proposal-class-properties@7.8.3", "@babel/plugin-proposal-class-properties@^7.1.0", "@babel/plugin-proposal-class-properties@^7.5.5", "@babel/plugin-proposal-class-properties@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.8.3.tgz#5e06654af5cd04b608915aada9b2a6788004464e" integrity sha512-EqFhbo7IosdgPgZggHaNObkmO1kNUe3slaKu54d5OWvy+p9QIKOzK1GAEpAIsZtWVtPXUHSMcT4smvDrCfY4AA== @@ -1107,7 +1124,7 @@ "@babel/helper-split-export-declaration" "^7.0.0" "@babel/plugin-syntax-decorators" "^7.2.0" -"@babel/plugin-proposal-decorators@7.8.3", "@babel/plugin-proposal-decorators@^7.3.0", "@babel/plugin-proposal-decorators@^7.8.3": +"@babel/plugin-proposal-decorators@7.8.3", "@babel/plugin-proposal-decorators@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.8.3.tgz#2156860ab65c5abf068c3f67042184041066543e" integrity sha512-e3RvdvS4qPJVTe288DlXjwKflpfy1hr0j5dz5WpIYYeP7vQZg2WfAEIp8k5/Lwis/m5REXEteIz6rrcDtXXG7w== @@ -1149,7 +1166,15 @@ "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-syntax-export-default-from" "^7.2.0" -"@babel/plugin-proposal-export-default-from@^7.2.0", "@babel/plugin-proposal-export-default-from@^7.5.2", "@babel/plugin-proposal-export-default-from@^7.8.3": +"@babel/plugin-proposal-export-default-from@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.10.4.tgz#08f66eef0067cbf6a7bc036977dcdccecaf0c6c5" + integrity sha512-G1l00VvDZ7Yk2yRlC5D8Ybvu3gmeHS3rCHoUYdjrqGYUtdeOBoRypnvDZ5KQqxyaiiGHWnVDeSEzA5F9ozItig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-export-default-from" "^7.10.4" + +"@babel/plugin-proposal-export-default-from@^7.5.2": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-default-from/-/plugin-proposal-export-default-from-7.8.3.tgz#4cb7c2fdeaed490b60d9bfd3dc8a20f81f9c2e7c" integrity sha512-PYtv2S2OdCdp7GSPDg5ndGZFm9DmWFvuLoS5nBxZCgOBggluLnhTScspJxng96alHQzPyrrHxvC9/w4bFuspeA== @@ -1213,7 +1238,7 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.0.0", "@babel/plugin-proposal-nullish-coalescing-operator@^7.10.1", "@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": +"@babel/plugin-proposal-nullish-coalescing-operator@^7.0.0", "@babel/plugin-proposal-nullish-coalescing-operator@^7.8.3": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.10.1.tgz#02dca21673842ff2fe763ac253777f235e9bbf78" integrity sha512-56cI/uHYgL2C8HVuHOuvVowihhX0sxb3nnfVRzUeVHTWmRHTZrKuAh/OBIMggGU/S1g/1D2CRCXqP+3u7vX7iA== @@ -1287,7 +1312,7 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-optional-chaining" "^7.8.0" -"@babel/plugin-proposal-optional-chaining@^7.0.0", "@babel/plugin-proposal-optional-chaining@^7.10.1", "@babel/plugin-proposal-optional-chaining@^7.9.0": +"@babel/plugin-proposal-optional-chaining@^7.0.0", "@babel/plugin-proposal-optional-chaining@^7.9.0": version "7.10.1" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.10.1.tgz#15f5d6d22708629451a91be28f8facc55b0e818c" integrity sha512-dqQj475q8+/avvok72CF3AOSV/SGEcH29zT5hhohqqvvZ2+boQoOr7iGldBG5YXTO2qgCgc2B3WvVLUdbeMlGA== @@ -1312,14 +1337,6 @@ "@babel/helper-create-class-features-plugin" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-proposal-private-methods@^7.3.3", "@babel/plugin-proposal-private-methods@^7.8.3": - version "7.8.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.8.3.tgz#01248c6c8dc292116b3b4ebd746150f4f0728bab" - integrity sha512-ysLAper960yy1TVXa2lMYdCQIGqtUXo8sVb+zYE7UTiZSLs6/wbZ0PrrXEKESJcK3SgFWrF8WpsaDzdslhuoZA== - dependencies: - "@babel/helper-create-class-features-plugin" "^7.8.3" - "@babel/helper-plugin-utils" "^7.8.3" - "@babel/plugin-proposal-unicode-property-regex@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.10.4.tgz#4483cda53041ce3413b7fe2f00022665ddfaa75d" @@ -1385,6 +1402,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" +"@babel/plugin-syntax-export-default-from@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.10.4.tgz#e5494f95006355c10292a0ff1ce42a5746002ec8" + integrity sha512-79V6r6Pgudz0RnuMGp5xidu6Z+bPFugh8/Q9eDHonmLp4wKFAZDwygJwYgCzuDu8lFA/sYyT+mc5y2wkd7bTXA== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-export-default-from@^7.2.0", "@babel/plugin-syntax-export-default-from@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-default-from/-/plugin-syntax-export-default-from-7.8.3.tgz#f1e55ce850091442af4ba9c2550106035b29d678" @@ -1406,6 +1430,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.1" +"@babel/plugin-syntax-flow@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.10.4.tgz#53351dd7ae01995e567d04ce42af1a6e0ba846a6" + integrity sha512-yxQsX1dJixF4qEEdzVbst3SZQ58Nrooz8NV9Z9GL4byTE25BvJgl5lf0RECUf0fh28rZBb/RYTWn/eeKwCMrZQ== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-function-bind@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-function-bind/-/plugin-syntax-function-bind-7.8.3.tgz#17d722cd8efc9bb9cf8bc59327f2b26295b352f7" @@ -1413,7 +1444,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-syntax-import-meta@^7.2.0", "@babel/plugin-syntax-import-meta@^7.8.3": +"@babel/plugin-syntax-import-meta@^7.10.4", "@babel/plugin-syntax-import-meta@^7.2.0", "@babel/plugin-syntax-import-meta@^7.8.3": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== @@ -1434,6 +1465,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-syntax-jsx@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.10.4.tgz#39abaae3cbf710c4373d8429484e6ba21340166c" + integrity sha512-KCg9mio9jwiARCB7WAcQ7Y1q+qicILjoK8LP/VkPkEKaf5dkaZZK1EcTe91a3JJlZ3qy6L5s9X52boEYi8DM9g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-logical-assignment-operators@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" @@ -1564,7 +1602,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-block-scoping@^7.10.4": +"@babel/plugin-transform-block-scoping@^7.10.4", "@babel/plugin-transform-block-scoping@^7.11.1": version "7.11.1" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.11.1.tgz#5b7efe98852bef8d652c0b28144cd93a9e4b5215" integrity sha512-00dYeDE0EVEHuuM+26+0w/SCL0BH2Qy7LwHuI4Hi4MH5gkC8/AqMN5uWFJIsoXZrAphiMm1iXzBw6L2T+eA0ew== @@ -1593,7 +1631,7 @@ "@babel/helper-split-export-declaration" "^7.10.4" globals "^11.1.0" -"@babel/plugin-transform-classes@^7.2.0", "@babel/plugin-transform-classes@^7.9.0", "@babel/plugin-transform-classes@^7.9.2", "@babel/plugin-transform-classes@^7.9.5": +"@babel/plugin-transform-classes@^7.2.0", "@babel/plugin-transform-classes@^7.9.0", "@babel/plugin-transform-classes@^7.9.5": version "7.9.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.5.tgz#800597ddb8aefc2c293ed27459c1fcc935a26c2c" integrity sha512-x2kZoIuLC//O5iA7PEvecB105o7TLzZo8ofBVhP79N+DO3jaX+KYfww9TQcfBEZD0nikNyYcGB1IKtRq36rdmg== @@ -1697,6 +1735,14 @@ "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-syntax-flow" "^7.10.1" +"@babel/plugin-transform-flow-strip-types@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.10.4.tgz#c497957f09e86e3df7296271e9eb642876bf7788" + integrity sha512-XTadyuqNst88UWBTdLjM+wEY7BFnY2sYtPyAidfC7M/QaZnSuIZpMvLxqGT7phAcnGyWh/XQFLKcGf04CnvxSQ== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-flow" "^7.10.4" + "@babel/plugin-transform-for-of@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.10.4.tgz#c08892e8819d3a5db29031b115af511dbbfebae9" @@ -1880,7 +1926,7 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-replace-supers" "^7.8.3" -"@babel/plugin-transform-parameters@^7.10.4": +"@babel/plugin-transform-parameters@^7.10.4", "@babel/plugin-transform-parameters@^7.10.5": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.10.5.tgz#59d339d58d0b1950435f4043e74e2510005e2c4a" integrity sha512-xPHwUj5RdFV8l1wuYiu5S9fqWGM2DrYc24TMvUiRrPVm+SM3XeqU9BcokQX/kEUe+p2RBwy+yoiR1w/Blq6ubw== @@ -1924,6 +1970,22 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" +"@babel/plugin-transform-react-display-name@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.10.4.tgz#b5795f4e3e3140419c3611b7a2a3832b9aef328d" + integrity sha512-Zd4X54Mu9SBfPGnEcaGcOrVAYOtjT2on8QZkLKEq1S/tHexG39d9XXGZv19VfRrDjPJzFmPfTAqOQS1pfFOujw== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-transform-react-jsx-development@^7.10.4": + version "7.11.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.11.5.tgz#e1439e6a57ee3d43e9f54ace363fb29cefe5d7b6" + integrity sha512-cImAmIlKJ84sDmpQzm4/0q/2xrXlDezQoixy3qoz1NJeZL/8PRon6xZtluvr4H4FzwlDGI5tCcFupMnXGtr+qw== + dependencies: + "@babel/helper-builder-react-jsx-experimental" "^7.11.5" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx" "^7.10.4" + "@babel/plugin-transform-react-jsx-development@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.9.0.tgz#3c2a130727caf00c2a293f0aed24520825dbf754" @@ -1941,6 +2003,14 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-jsx" "^7.8.3" +"@babel/plugin-transform-react-jsx-self@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.10.4.tgz#cd301a5fed8988c182ed0b9d55e9bd6db0bd9369" + integrity sha512-yOvxY2pDiVJi0axdTWHSMi5T0DILN+H+SaeJeACHKjQLezEzhLx9nEF9xgpBLPtkZsks9cnb5P9iBEi21En3gg== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx" "^7.10.4" + "@babel/plugin-transform-react-jsx-source@^7.0.0", "@babel/plugin-transform-react-jsx-source@^7.9.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.9.0.tgz#89ef93025240dd5d17d3122294a093e5e0183de0" @@ -1949,7 +2019,15 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-jsx" "^7.8.3" -"@babel/plugin-transform-react-jsx@^7.0.0", "@babel/plugin-transform-react-jsx@^7.3.0", "@babel/plugin-transform-react-jsx@^7.9.1", "@babel/plugin-transform-react-jsx@^7.9.4": +"@babel/plugin-transform-react-jsx-source@^7.10.4": + version "7.10.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.10.5.tgz#34f1779117520a779c054f2cdd9680435b9222b4" + integrity sha512-wTeqHVkN1lfPLubRiZH3o73f4rfon42HpgxUSs86Nc+8QIcm/B9s8NNVXu/gwGcOyd7yDib9ikxoDLxJP0UiDA== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx" "^7.10.4" + +"@babel/plugin-transform-react-jsx@^7.0.0", "@babel/plugin-transform-react-jsx@^7.9.1", "@babel/plugin-transform-react-jsx@^7.9.4": version "7.9.4" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.9.4.tgz#86f576c8540bd06d0e95e0b61ea76d55f6cbd03f" integrity sha512-Mjqf3pZBNLt854CK0C/kRuXAnE6H/bo7xYojP+WGtX8glDGSibcwnsWwhwoSuRg0+EBnxPC1ouVnuetUIlPSAw== @@ -1959,6 +2037,24 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-syntax-jsx" "^7.8.3" +"@babel/plugin-transform-react-jsx@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.10.4.tgz#673c9f913948764a4421683b2bef2936968fddf2" + integrity sha512-L+MfRhWjX0eI7Js093MM6MacKU4M6dnCRa/QPDwYMxjljzSCzzlzKzj9Pk4P3OtrPcxr2N3znR419nr3Xw+65A== + dependencies: + "@babel/helper-builder-react-jsx" "^7.10.4" + "@babel/helper-builder-react-jsx-experimental" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx" "^7.10.4" + +"@babel/plugin-transform-react-pure-annotations@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.10.4.tgz#3eefbb73db94afbc075f097523e445354a1c6501" + integrity sha512-+njZkqcOuS8RaPakrnR9KvxjoG1ASJWpoIv/doyWngId88JoFlPlISenGXjrVacZUIALGUr6eodRs1vmPnF23A== + dependencies: + "@babel/helper-annotate-as-pure" "^7.10.4" + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-transform-regenerator@^7.0.0", "@babel/plugin-transform-regenerator@^7.8.7": version "7.8.7" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.7.tgz#5e46a0dca2bee1ad8285eb0527e6abc9c37672f8" @@ -1997,7 +2093,7 @@ resolve "^1.8.1" semver "^5.5.1" -"@babel/plugin-transform-runtime@^7.11.0": +"@babel/plugin-transform-runtime@^7.11.0", "@babel/plugin-transform-runtime@^7.11.5": version "7.11.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.11.5.tgz#f108bc8e0cf33c37da031c097d1df470b3a293fc" integrity sha512-9aIoee+EhjySZ6vY5hnLjigHzunBlscx9ANKutkeWTJTx6m5Rbq6Ic01tLvO54lSusR+BxV7u4UDdCmXv5aagg== @@ -2007,7 +2103,7 @@ resolve "^1.8.1" semver "^5.5.1" -"@babel/plugin-transform-runtime@^7.2.0", "@babel/plugin-transform-runtime@^7.9.0", "@babel/plugin-transform-runtime@^7.9.6": +"@babel/plugin-transform-runtime@^7.2.0", "@babel/plugin-transform-runtime@^7.9.0": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.6.tgz#3ba804438ad0d880a17bca5eaa0cdf1edeedb2fd" integrity sha512-qcmiECD0mYOjOIt8YHNsAP1SxPooC/rDmfmiSK9BNY72EitdSc7l44WTEklaWuFtbOEBjNhWWyph/kOImbNJ4w== @@ -2062,7 +2158,7 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/helper-regex" "^7.8.3" -"@babel/plugin-transform-template-literals@^7.10.4": +"@babel/plugin-transform-template-literals@^7.10.4", "@babel/plugin-transform-template-literals@^7.10.5": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.10.5.tgz#78bc5d626a6642db3312d9d0f001f5e7639fde8c" integrity sha512-V/lnPGIb+KT12OQikDvgSuesRX14ck5FfJXt6+tXhdkJ+Vsd0lDCVtF6jcB4rNClYFzaB2jusZ+lNISDk2mMMw== @@ -2092,7 +2188,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.3" -"@babel/plugin-transform-typescript@^7.11.0": +"@babel/plugin-transform-typescript@^7.10.4", "@babel/plugin-transform-typescript@^7.11.0": version "7.11.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.11.0.tgz#2b4879676af37342ebb278216dd090ac67f13abb" integrity sha512-edJsNzTtvb3MaXQwj8403B7mZoGu9ElDJQZOKjGUnvilquxBA3IQoEIOvkX/1O8xfAsnHS/oQhe2w/IXrr+w0w== @@ -2270,7 +2366,7 @@ levenary "^1.1.1" semver "^5.5.0" -"@babel/preset-env@^7.1.6", "@babel/preset-env@^7.4.4", "@babel/preset-env@^7.4.5", "@babel/preset-env@^7.5.5", "@babel/preset-env@^7.9.0", "@babel/preset-env@^7.9.5", "@babel/preset-env@^7.9.6": +"@babel/preset-env@^7.1.6", "@babel/preset-env@^7.4.4", "@babel/preset-env@^7.4.5", "@babel/preset-env@^7.5.5", "@babel/preset-env@^7.9.0", "@babel/preset-env@^7.9.5": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.9.6.tgz#df063b276c6455ec6fcfc6e53aacc38da9b0aea6" integrity sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ== @@ -2426,6 +2522,14 @@ "@babel/helper-plugin-utils" "^7.10.1" "@babel/plugin-transform-flow-strip-types" "^7.10.1" +"@babel/preset-flow@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.10.4.tgz#e0d9c72f8cb02d1633f6a5b7b16763aa2edf659f" + integrity sha512-XI6l1CptQCOBv+ZKYwynyswhtOKwpZZp5n0LG1QKCo8erRhqjoQV6nvx61Eg30JHpysWQSBwA2AWRU3pBbSY5g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-transform-flow-strip-types" "^7.10.4" + "@babel/preset-modules@^0.1.3": version "0.1.3" resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.3.tgz#13242b53b5ef8c883c3cf7dddd55b36ce80fbc72" @@ -2460,7 +2564,7 @@ "@babel/plugin-transform-react-jsx-self" "^7.9.0" "@babel/plugin-transform-react-jsx-source" "^7.9.0" -"@babel/preset-react@^7.0.0", "@babel/preset-react@^7.7.0", "@babel/preset-react@^7.7.4", "@babel/preset-react@^7.8.3", "@babel/preset-react@^7.9.4": +"@babel/preset-react@^7.0.0", "@babel/preset-react@^7.9.4": version "7.9.4" resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.9.4.tgz#c6c97693ac65b6b9c0b4f25b948a8f665463014d" integrity sha512-AxylVB3FXeOTQXNXyiuAQJSvss62FEotbX2Pzx3K/7c+MKJMdSg6Ose6QYllkdCFA8EInCJVw7M/o5QbLuA4ZQ== @@ -2472,7 +2576,20 @@ "@babel/plugin-transform-react-jsx-self" "^7.9.0" "@babel/plugin-transform-react-jsx-source" "^7.9.0" -"@babel/preset-typescript@7.9.0", "@babel/preset-typescript@^7.1.0", "@babel/preset-typescript@^7.3.3", "@babel/preset-typescript@^7.9.0": +"@babel/preset-react@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.10.4.tgz#92e8a66d816f9911d11d4cc935be67adfc82dbcf" + integrity sha512-BrHp4TgOIy4M19JAfO1LhycVXOPWdDbTRep7eVyatf174Hff+6Uk53sDyajqZPu8W1qXRBiYOfIamek6jA7YVw== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-transform-react-display-name" "^7.10.4" + "@babel/plugin-transform-react-jsx" "^7.10.4" + "@babel/plugin-transform-react-jsx-development" "^7.10.4" + "@babel/plugin-transform-react-jsx-self" "^7.10.4" + "@babel/plugin-transform-react-jsx-source" "^7.10.4" + "@babel/plugin-transform-react-pure-annotations" "^7.10.4" + +"@babel/preset-typescript@7.9.0", "@babel/preset-typescript@^7.1.0": version "7.9.0" resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.9.0.tgz#87705a72b1f0d59df21c179f7c3d2ef4b16ce192" integrity sha512-S4cueFnGrIbvYJgwsVFKdvOmpiL0XGw9MFW9D0vgRys5g36PBhZRL8NX8Gr2akz8XRtzq6HuDXPD/1nniagNUg== @@ -2480,7 +2597,15 @@ "@babel/helper-plugin-utils" "^7.8.3" "@babel/plugin-transform-typescript" "^7.9.0" -"@babel/register@^7.0.0", "@babel/register@^7.10.5": +"@babel/preset-typescript@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.10.4.tgz#7d5d052e52a682480d6e2cc5aa31be61c8c25e36" + integrity sha512-SdYnvGPv+bLlwkF2VkJnaX/ni1sMNetcGI1+nThF1gyv6Ph8Qucc4ZZAjM5yZcE/AKRXIOTZz7eSRDWOEjPyRQ== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-transform-typescript" "^7.10.4" + +"@babel/register@^7.0.0": version "7.10.5" resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.10.5.tgz#354f3574895f1307f79efe37a51525e52fd38d89" integrity sha512-eYHdLv43nyvmPn9bfNfrcC4+iYNwdQ8Pxk1MFJuU/U5LpSYl/PH4dFMazCYZDFVi8ueG3shvO+AQfLrxpYulQw== @@ -2491,6 +2616,17 @@ pirates "^4.0.0" source-map-support "^0.5.16" +"@babel/register@^7.11.5": + version "7.11.5" + resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.11.5.tgz#79becf89e0ddd0fba8b92bc279bc0f5d2d7ce2ea" + integrity sha512-CAml0ioKX+kOAvBQDHa/+t1fgOt3qkTIz0TrRtRAT6XY0m5qYZXR85k6/sLCNPMGhYDlCFHCYuU0ybTJbvlC6w== + dependencies: + find-cache-dir "^2.0.0" + lodash "^4.17.19" + make-dir "^2.1.0" + pirates "^4.0.0" + source-map-support "^0.5.16" + "@babel/runtime-corejs3@^7.7.4", "@babel/runtime-corejs3@^7.8.3": version "7.9.6" resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.9.6.tgz#67aded13fffbbc2cb93247388cf84d77a4be9a71" @@ -2513,7 +2649,7 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.10.4", "@babel/runtime@^7.11.0": +"@babel/runtime@^7.10.4", "@babel/runtime@^7.11.0", "@babel/runtime@^7.11.2": version "7.11.2" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.11.2.tgz#f549c13c754cc40b87644b9fa9f09a6a95fe0736" integrity sha512-TeWkU52so0mPtDcaCTxNBI/IHiz0pZgr8VEFqXFtZWpYD08ZB6FaSwVAS8MKRQAP3bYKiVjwysOJgMFY28o6Tw== @@ -33503,6 +33639,11 @@ webpack-dev-server@3.2.1: webpack-log "^2.0.0" yargs "12.0.2" +webpack-filter-warnings-plugin@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/webpack-filter-warnings-plugin/-/webpack-filter-warnings-plugin-1.2.1.tgz#dc61521cf4f9b4a336fbc89108a75ae1da951cdb" + integrity sha512-Ez6ytc9IseDMLPo0qCuNNYzgtUl8NovOqjIq4uAU8LTD4uoa1w1KpZyyzFtLTEMZpkkOkLfL9eN+KGYdk1Qtwg== + webpack-hot-middleware@^2.25.0: version "2.25.0" resolved "https://registry.yarnpkg.com/webpack-hot-middleware/-/webpack-hot-middleware-2.25.0.tgz#4528a0a63ec37f8f8ef565cf9e534d57d09fe706" From b0ec101c12dba4eef4c4117b731b4f06a7bb03fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Maisse?= Date: Sun, 20 Sep 2020 15:34:39 +0200 Subject: [PATCH 2/6] fix: put back `@babel/core` dep in `@storybook/core` We are using `babel-loader` in `@storybook/core`. And `babel-loader` has a peerDep on `@babel/core`. So we have to add it to the dependencies of `@storybook/core`. --- lib/core/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/package.json b/lib/core/package.json index 5eb59f4a4b8..c2ee9ec11cc 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -30,6 +30,7 @@ "prepare": "node ../../scripts/prepare.js" }, "dependencies": { + "@babel/core": "^7.11.5", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-decorators": "^7.10.5", "@babel/plugin-proposal-export-default-from": "^7.10.4", From 289100e584836bafddb62e881a66eeec674f6275 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Maisse?= Date: Sun, 20 Sep 2020 15:46:28 +0200 Subject: [PATCH 3/6] chore: bump `downlevel-dts` to ensure all TS 3.8+ features are properly downgraded to something understood by TS 3.4 --- package.json | 4 ++-- yarn.lock | 17 +++++++++++------ 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 21235960782..d46971ea042 100644 --- a/package.json +++ b/package.json @@ -154,7 +154,7 @@ "danger": "^10.1.1", "del": "^5.1.0", "detect-port": "^1.3.0", - "downlevel-dts": "^0.4.0", + "downlevel-dts": "^0.6.0", "enquirer": "^2.3.5", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.9.1", @@ -281,4 +281,4 @@ ] ] } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 2f216734dbb..69f0f1171bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13249,13 +13249,13 @@ dotenv@^5.0.0: resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-5.0.1.tgz#a5317459bd3d79ab88cff6e44057a6a3fbb1fcef" integrity sha512-4As8uPrjfwb7VXC+WnLCbXK7y+Ueb2B3zgNCePYfhxS1PYeaO1YTeplffTEcbfLhvFNGLAz90VvJs9yomG7bow== -downlevel-dts@^0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/downlevel-dts/-/downlevel-dts-0.4.0.tgz#43f9f649c8b137373d76b4ee396d5a0227c10ddb" - integrity sha512-nh5vM3n2pRhPwZqh0iWo5gpItPAYEGEWw9yd0YpI+lO60B7A3A6iJlxDbt7kKVNbqBXKsptL+jwE/Yg5Go66WQ== +downlevel-dts@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/downlevel-dts/-/downlevel-dts-0.6.0.tgz#1e52db9fa3ad9e3919a36545412f0b41a44289d1" + integrity sha512-Jy3ZZcXWPzTn5jJRW5WpdEtIq8+UowWWi5TEBgHHvzw320kouV//2KgVhfcuOpP93KS3UAokTxnZKU4L75kRSQ== dependencies: shelljs "^0.8.3" - typescript "^3.8.0-dev.20200111" + typescript "^4.1.0-dev.20200804" driver-dom@^2.0.0, driver-dom@^2.0.5, driver-dom@^2.0.6: version "2.0.9" @@ -32257,11 +32257,16 @@ typescript@^2.4.2: resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.9.2.tgz#1cbf61d05d6b96269244eb6a3bce4bd914e0f00c" integrity sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w== -typescript@^3.2.4, typescript@^3.5.3, typescript@^3.8.0-dev.20200111, typescript@^3.8.3, typescript@^3.9.3: +typescript@^3.2.4, typescript@^3.5.3, typescript@^3.8.3, typescript@^3.9.3: version "3.9.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.3.tgz#d3ac8883a97c26139e42df5e93eeece33d610b8a" integrity sha512-D/wqnB2xzNFIcoBG9FG8cXRDjiqSTbG2wd8DMZeQyJlP1vfTkIxH4GKveWaEBYySKIg+USu+E+EDIR47SqnaMQ== +typescript@^4.1.0-dev.20200804: + version "4.1.0-dev.20200920" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.0-dev.20200920.tgz#10ee53b47d59f8f9f5393923af2e2afb77be7faf" + integrity sha512-bGi57WKSfaYS4FefMMR3a6CcVAc/bmyx+df7EILzSzJk1gd9GSkT/9M2vHPyOEt/IjFBNhyOCB8hQ6PrQoqlFw== + ua-parser-js@^0.7.18: version "0.7.21" resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.21.tgz#853cf9ce93f642f67174273cc34565ae6f308777" From f91e8d36c43022658b3356c3c45e6dedcb9ee5da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Maisse?= Date: Sun, 20 Sep 2020 15:54:35 +0200 Subject: [PATCH 4/6] refactor: rename downleveled TS directory to ts3.4 As of 0.6.0, `downlevel-dts` targets TypeScript 3.4 and there is no option to change that. So I renamed all the output dirs to `ts3.4` to better represent what's inside them. --- addons/a11y/package.json | 4 ++-- addons/actions/package.json | 4 ++-- addons/backgrounds/package.json | 4 ++-- addons/cssresources/package.json | 4 ++-- addons/design-assets/package.json | 4 ++-- addons/docs/package.json | 4 ++-- addons/essentials/package.json | 4 ++-- addons/events/package.json | 4 ++-- addons/graphql/package.json | 4 ++-- addons/jest/package.json | 4 ++-- addons/knobs/package.json | 4 ++-- addons/links/package.json | 4 ++-- addons/queryparams/package.json | 4 ++-- addons/storyshots/storyshots-core/package.json | 4 ++-- addons/storyshots/storyshots-puppeteer/package.json | 4 ++-- addons/storysource/package.json | 4 ++-- addons/viewport/package.json | 4 ++-- app/angular/package.json | 4 ++-- app/ember/package.json | 4 ++-- app/html/package.json | 4 ++-- app/marko/package.json | 4 ++-- app/mithril/package.json | 4 ++-- app/preact/package.json | 4 ++-- app/rax/package.json | 4 ++-- app/react/package.json | 6 +++--- app/riot/package.json | 4 ++-- app/server/package.json | 4 ++-- app/svelte/package.json | 4 ++-- app/vue/package.json | 4 ++-- app/web-components/package.json | 4 ++-- dev-kits/addon-decorator/package.json | 2 +- dev-kits/addon-parameter/package.json | 2 +- dev-kits/addon-preview-wrapper/package.json | 2 +- dev-kits/addon-roundtrip/package.json | 2 +- lib/addons/package.json | 4 ++-- lib/api/package.json | 4 ++-- lib/channel-postmessage/package.json | 4 ++-- lib/channel-websocket/package.json | 4 ++-- lib/channels/package.json | 4 ++-- lib/cli/package.json | 4 ++-- lib/client-api/package.json | 4 ++-- lib/client-logger/package.json | 4 ++-- lib/codemod/package.json | 4 ++-- lib/components/package.json | 4 ++-- lib/core-events/package.json | 4 ++-- lib/core/package.json | 4 ++-- lib/node-logger/package.json | 4 ++-- lib/postinstall/package.json | 4 ++-- lib/router/package.json | 4 ++-- lib/source-loader/package.json | 4 ++-- lib/theming/package.json | 4 ++-- lib/ui/package.json | 4 ++-- scripts/utils/compile-tsc.js | 2 +- 53 files changed, 102 insertions(+), 102 deletions(-) diff --git a/addons/a11y/package.json b/addons/a11y/package.json index eb0533bff5c..6f37dcb11a3 100644 --- a/addons/a11y/package.json +++ b/addons/a11y/package.json @@ -27,7 +27,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -63,7 +63,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/actions/package.json b/addons/actions/package.json index 98add0244da..51a1f003cf5 100644 --- a/addons/actions/package.json +++ b/addons/actions/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -60,7 +60,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/backgrounds/package.json b/addons/backgrounds/package.json index a589d70f305..59af48ebb23 100644 --- a/addons/backgrounds/package.json +++ b/addons/backgrounds/package.json @@ -26,7 +26,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -54,7 +54,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/cssresources/package.json b/addons/cssresources/package.json index 979246663fb..3109f3958aa 100644 --- a/addons/cssresources/package.json +++ b/addons/cssresources/package.json @@ -26,7 +26,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -55,7 +55,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/design-assets/package.json b/addons/design-assets/package.json index 203dbdf3bf9..98a12927747 100644 --- a/addons/design-assets/package.json +++ b/addons/design-assets/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -55,7 +55,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/docs/package.json b/addons/docs/package.json index a74467199d3..f0a16e7fcd6 100644 --- a/addons/docs/package.json +++ b/addons/docs/package.json @@ -32,7 +32,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "createDlls": "node -r esm ./scripts/createDlls.js", @@ -147,7 +147,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/essentials/package.json b/addons/essentials/package.json index 6d3ea6bb0a8..de2771dc165 100644 --- a/addons/essentials/package.json +++ b/addons/essentials/package.json @@ -22,7 +22,7 @@ "files": [ "dist/**/*", "README.md", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -71,7 +71,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/events/package.json b/addons/events/package.json index fe59c7fa672..9c3a5c50f3f 100644 --- a/addons/events/package.json +++ b/addons/events/package.json @@ -25,7 +25,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -56,7 +56,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/graphql/package.json b/addons/graphql/package.json index 8e717475689..5884cafb02d 100644 --- a/addons/graphql/package.json +++ b/addons/graphql/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -52,7 +52,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/jest/package.json b/addons/jest/package.json index ce70960c740..83a1571457d 100644 --- a/addons/jest/package.json +++ b/addons/jest/package.json @@ -29,7 +29,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -58,7 +58,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/knobs/package.json b/addons/knobs/package.json index 638c4eb3a2e..f37bbcede38 100644 --- a/addons/knobs/package.json +++ b/addons/knobs/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -67,7 +67,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/links/package.json b/addons/links/package.json index 8d00a5425c2..4185bf63b5e 100644 --- a/addons/links/package.json +++ b/addons/links/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -55,7 +55,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/queryparams/package.json b/addons/queryparams/package.json index 2e7f1da3503..61c802cdef2 100644 --- a/addons/queryparams/package.json +++ b/addons/queryparams/package.json @@ -24,7 +24,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -54,7 +54,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/storyshots/storyshots-core/package.json b/addons/storyshots/storyshots-core/package.json index 3d37c22b519..7abfc04ced2 100644 --- a/addons/storyshots/storyshots-core/package.json +++ b/addons/storyshots/storyshots-core/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "build-storybook": "build-storybook", @@ -67,7 +67,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/storyshots/storyshots-puppeteer/package.json b/addons/storyshots/storyshots-puppeteer/package.json index ed4e8db30da..7b0b66b8bb2 100644 --- a/addons/storyshots/storyshots-puppeteer/package.json +++ b/addons/storyshots/storyshots-puppeteer/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../../scripts/prepare.js" @@ -57,7 +57,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/storysource/package.json b/addons/storysource/package.json index f008a3ef35c..ebc66a15c1e 100644 --- a/addons/storysource/package.json +++ b/addons/storysource/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -57,7 +57,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/addons/viewport/package.json b/addons/viewport/package.json index 227f12dc7f9..a121387a042 100644 --- a/addons/viewport/package.json +++ b/addons/viewport/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -50,7 +50,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/angular/package.json b/app/angular/package.json index efbdab45bb5..88be45b0242 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -78,7 +78,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/ember/package.json b/app/ember/package.json index 6c467b3b297..0e970e438e5 100644 --- a/app/ember/package.json +++ b/app/ember/package.json @@ -25,7 +25,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -54,7 +54,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/html/package.json b/app/html/package.json index 508a29c4fe1..f7c8627e063 100644 --- a/app/html/package.json +++ b/app/html/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -56,7 +56,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/marko/package.json b/app/marko/package.json index 0f470d8f357..424c1ccf4b1 100644 --- a/app/marko/package.json +++ b/app/marko/package.json @@ -27,7 +27,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -56,7 +56,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/mithril/package.json b/app/mithril/package.json index 462ef85429b..61287024740 100644 --- a/app/mithril/package.json +++ b/app/mithril/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -62,7 +62,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/preact/package.json b/app/preact/package.json index 9cc295a9177..0ab1b915d5b 100644 --- a/app/preact/package.json +++ b/app/preact/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -60,7 +60,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/rax/package.json b/app/rax/package.json index 066c13127bb..f4510fd42a3 100644 --- a/app/rax/package.json +++ b/app/rax/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -56,7 +56,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/react/package.json b/app/react/package.json index c9783c141b7..535e92795cd 100644 --- a/app/react/package.json +++ b/app/react/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -75,10 +75,10 @@ "typesVersions": { "<3.8": { "types-6-0": [ - "ts3.7/dist/client/preview/types-6-0.d.ts" + "ts3.4/dist/client/preview/types-6-0.d.ts" ], "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/riot/package.json b/app/riot/package.json index 2c1d3367a0b..156fd14ab77 100644 --- a/app/riot/package.json +++ b/app/riot/package.json @@ -28,7 +28,7 @@ "standalone.js", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -65,7 +65,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/server/package.json b/app/server/package.json index 18c35c3ded0..ab133987a22 100644 --- a/app/server/package.json +++ b/app/server/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -58,7 +58,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/svelte/package.json b/app/svelte/package.json index f586868e704..55a12d1b32b 100644 --- a/app/svelte/package.json +++ b/app/svelte/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -62,7 +62,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/vue/package.json b/app/vue/package.json index 8e2d24cc3a4..3635892722f 100644 --- a/app/vue/package.json +++ b/app/vue/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -72,7 +72,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/app/web-components/package.json b/app/web-components/package.json index 5adf9100a65..4a2fdf1708c 100644 --- a/app/web-components/package.json +++ b/app/web-components/package.json @@ -30,7 +30,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -66,7 +66,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/dev-kits/addon-decorator/package.json b/dev-kits/addon-decorator/package.json index 9f11bed2192..3dd5f9aef69 100644 --- a/dev-kits/addon-decorator/package.json +++ b/dev-kits/addon-decorator/package.json @@ -36,7 +36,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/dev-kits/addon-parameter/package.json b/dev-kits/addon-parameter/package.json index f71f5ec077c..30df13ede47 100644 --- a/dev-kits/addon-parameter/package.json +++ b/dev-kits/addon-parameter/package.json @@ -42,7 +42,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/dev-kits/addon-preview-wrapper/package.json b/dev-kits/addon-preview-wrapper/package.json index df19c6c735f..495f1301c84 100644 --- a/dev-kits/addon-preview-wrapper/package.json +++ b/dev-kits/addon-preview-wrapper/package.json @@ -34,7 +34,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/dev-kits/addon-roundtrip/package.json b/dev-kits/addon-roundtrip/package.json index 0bbabb6b95d..a4453e62629 100644 --- a/dev-kits/addon-roundtrip/package.json +++ b/dev-kits/addon-roundtrip/package.json @@ -43,7 +43,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/addons/package.json b/lib/addons/package.json index a2c801213b4..f7c0456eb85 100644 --- a/lib/addons/package.json +++ b/lib/addons/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -47,7 +47,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/api/package.json b/lib/api/package.json index b4b18541872..4220e0503e5 100644 --- a/lib/api/package.json +++ b/lib/api/package.json @@ -21,7 +21,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ./scripts/generateVersion.js && node ../../scripts/prepare.js", @@ -63,7 +63,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/channel-postmessage/package.json b/lib/channel-postmessage/package.json index 03f17a98431..92271aa54cf 100644 --- a/lib/channel-postmessage/package.json +++ b/lib/channel-postmessage/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -43,7 +43,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/channel-websocket/package.json b/lib/channel-websocket/package.json index ec8c3cace10..c40be0d25e8 100644 --- a/lib/channel-websocket/package.json +++ b/lib/channel-websocket/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -40,7 +40,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/channels/package.json b/lib/channels/package.json index 6b21f2062e5..fb0c9320b12 100644 --- a/lib/channels/package.json +++ b/lib/channels/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -39,7 +39,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/cli/package.json b/lib/cli/package.json index d9cdb8b64e7..3380d9459ce 100644 --- a/lib/cli/package.json +++ b/lib/cli/package.json @@ -28,7 +28,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*", + "ts3.4/**/*", "versions.json" ], "scripts": { @@ -80,7 +80,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/client-api/package.json b/lib/client-api/package.json index 58bf6015848..3729cdce318 100644 --- a/lib/client-api/package.json +++ b/lib/client-api/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -55,7 +55,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/client-logger/package.json b/lib/client-logger/package.json index abab0767af4..9faed525f3a 100644 --- a/lib/client-logger/package.json +++ b/lib/client-logger/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -38,7 +38,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/codemod/package.json b/lib/codemod/package.json index 4c257f8a751..787ea880898 100644 --- a/lib/codemod/package.json +++ b/lib/codemod/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -51,7 +51,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/components/package.json b/lib/components/package.json index 8c144874121..c0a4902db25 100644 --- a/lib/components/package.json +++ b/lib/components/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -64,7 +64,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/core-events/package.json b/lib/core-events/package.json index 83e71218250..2cd7b5d7b6c 100644 --- a/lib/core-events/package.json +++ b/lib/core-events/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -37,7 +37,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/core/package.json b/lib/core/package.json index c2ee9ec11cc..c5380e41bcf 100644 --- a/lib/core/package.json +++ b/lib/core/package.json @@ -24,7 +24,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -142,7 +142,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/node-logger/package.json b/lib/node-logger/package.json index 4022aab24f6..cbc70cccb25 100644 --- a/lib/node-logger/package.json +++ b/lib/node-logger/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -44,7 +44,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/postinstall/package.json b/lib/postinstall/package.json index 82b207877c6..2cd80fc4b8d 100644 --- a/lib/postinstall/package.json +++ b/lib/postinstall/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -43,7 +43,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/router/package.json b/lib/router/package.json index 96fc5103660..60b1e682fee 100644 --- a/lib/router/package.json +++ b/lib/router/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -44,7 +44,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/source-loader/package.json b/lib/source-loader/package.json index 8e9d07bd714..546a9c07e2c 100644 --- a/lib/source-loader/package.json +++ b/lib/source-loader/package.json @@ -23,7 +23,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -49,7 +49,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/theming/package.json b/lib/theming/package.json index 6fb2d627b29..5a3beba015a 100644 --- a/lib/theming/package.json +++ b/lib/theming/package.json @@ -22,7 +22,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "prepare": "node ../../scripts/prepare.js" @@ -50,7 +50,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/lib/ui/package.json b/lib/ui/package.json index 2f36e814ca7..779c9a37627 100644 --- a/lib/ui/package.json +++ b/lib/ui/package.json @@ -21,7 +21,7 @@ "README.md", "*.js", "*.d.ts", - "ts3.7/**/*" + "ts3.4/**/*" ], "scripts": { "createDlls": "node -r esm ./scripts/createDlls.js", @@ -80,7 +80,7 @@ "typesVersions": { "<3.8": { "*": [ - "ts3.7/*" + "ts3.4/*" ] } } diff --git a/scripts/utils/compile-tsc.js b/scripts/utils/compile-tsc.js index 53c2016cfc0..927fb3fcabe 100644 --- a/scripts/utils/compile-tsc.js +++ b/scripts/utils/compile-tsc.js @@ -28,7 +28,7 @@ function getCommand(watch) { args.push('-w', '--preserveWatchOutput'); } - return `${tsc} ${args.join(' ')} && ${downlevelDts} dist ts3.7/dist`; + return `${tsc} ${args.join(' ')} && ${downlevelDts} dist ts3.4/dist`; } function handleExit(code, stderr, errorCallback) { From d1d7035da0dbcbcb422bf827f04fe30488b844d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Maisse?= Date: Sun, 20 Sep 2020 16:11:48 +0200 Subject: [PATCH 5/6] chore: update TypeScript peerDep version in @storybook/angular `@storybook/angular` is compatible with old version of Angular. However, these old versions only officially support some versions of TS. So I reverted the update made in c8a60565b01f44659ecbd7af9ab7891b7e075456 --- app/angular/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/angular/package.json b/app/angular/package.json index 88be45b0242..a6f7c149aff 100644 --- a/app/angular/package.json +++ b/app/angular/package.json @@ -65,7 +65,7 @@ "@angular/platform-browser-dynamic": ">=6.0.0", "@babel/core": "*", "rxjs": "^6.0.0", - "typescript": "^3.9.3", + "typescript": "^3.4.0", "zone.js": "^0.8.29 || ^0.9.0 || ^0.10.0" }, "engines": { From d33a353d221f5ba6e8f2e5956b5d04a88e9d83d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Maisse?= Date: Sun, 20 Sep 2020 16:49:57 +0200 Subject: [PATCH 6/6] chore: remove `glob` from deps of `@storybook/addon-docs` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `glob` was added in c8a60565b01f44659ecbd7af9ab7891b7e075456 but it looks there is no reason to do so 🤷‍. --- addons/docs/package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/docs/package.json b/addons/docs/package.json index dedfdeafbcc..83b4e2adc6f 100644 --- a/addons/docs/package.json +++ b/addons/docs/package.json @@ -66,7 +66,6 @@ "doctrine": "^3.0.0", "escodegen": "^1.12.0", "fast-deep-equal": "^3.1.1", - "glob": "^7.1.6", "global": "^4.3.2", "html-tags": "^3.1.0", "js-string-escape": "^1.0.1",