Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Upgrade babel #12499

Merged
merged 7 commits into from
Sep 20, 2020
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions addons/a11y/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand Down Expand Up @@ -61,9 +61,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/actions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand Down Expand Up @@ -58,9 +58,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/backgrounds/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand All @@ -52,9 +52,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/cssresources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand All @@ -53,9 +53,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/design-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand All @@ -53,9 +53,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
19 changes: 10 additions & 9 deletions addons/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,17 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"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",
Expand All @@ -66,6 +66,7 @@
"doctrine": "^3.0.0",
"escodegen": "^1.12.0",
"fast-deep-equal": "^3.1.1",
"glob": "^7.1.6",
gaetanmaisse marked this conversation as resolved.
Show resolved Hide resolved
"global": "^4.3.2",
"html-tags": "^3.1.0",
"js-string-escape": "^1.0.1",
Expand All @@ -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.11",
Expand Down Expand Up @@ -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.11",
"babel-loader": "^8.0.0",
"sveltedoc-parser": "^3.0.4",
Expand All @@ -144,9 +145,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\\": \\"\\",
Expand Down
6 changes: 3 additions & 3 deletions addons/essentials/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"files": [
"dist/**/*",
"README.md",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand Down Expand Up @@ -69,9 +69,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand Down Expand Up @@ -54,9 +54,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
10 changes: 5 additions & 5 deletions addons/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"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.11",
"@storybook/api": "6.1.0-alpha.11",
"@types/webpack": "^4.41.9",
Expand All @@ -50,9 +50,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand All @@ -56,9 +56,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/knobs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand Down Expand Up @@ -65,9 +65,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand Down Expand Up @@ -53,9 +53,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/queryparams/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../scripts/prepare.js"
Expand Down Expand Up @@ -52,9 +52,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/storyshots/storyshots-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"build-storybook": "build-storybook",
Expand Down Expand Up @@ -65,9 +65,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
6 changes: 3 additions & 3 deletions addons/storyshots/storyshots-puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"README.md",
"*.js",
"*.d.ts",
"ts3.5/**/*"
"ts3.4/**/*"
],
"scripts": {
"prepare": "node ../../../scripts/prepare.js"
Expand Down Expand Up @@ -55,9 +55,9 @@
},
"gitHead": "38fc33bac608f870dea9215f5ac0657f90bc62ff",
"typesVersions": {
"<=3.5": {
"<3.8": {
"*": [
"ts3.5/*"
"ts3.4/*"
]
}
}
Expand Down
Loading