Skip to content

Commit

Permalink
Upgrade Babel-related deps (emotion-js#1621)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Nov 9, 2019
1 parent 7e7f654 commit 199c661
Show file tree
Hide file tree
Showing 14 changed files with 563 additions and 56 deletions.
20 changes: 10 additions & 10 deletions package.json
Expand Up @@ -163,17 +163,17 @@
}
},
"dependencies": {
"@babel/core": "^7.5.5",
"@babel/helper-module-imports": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/core": "^7.7.2",
"@babel/helper-module-imports": "^7.7.0",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-syntax-jsx": "^7.2.0",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.5.5",
"@babel/plugin-transform-flow-strip-types": "^7.6.3",
"@babel/plugin-transform-react-jsx": "^7.7.0",
"@babel/preset-env": "^7.7.1",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.5.5",
"@babel/runtime": "^7.5.5",
"@babel/preset-react": "^7.7.0",
"@babel/register": "^7.7.0",
"@babel/runtime": "^7.7.2",
"@changesets/changelog-github": "^0.1.0",
"@changesets/cli": "^2.4.0",
"@manypkg/cli": "^0.5.2",
Expand All @@ -188,7 +188,7 @@
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.3",
"babel-flow-types": "^1.2.3",
"babel-jest": "^24.1.0",
"babel-jest": "^24.9.0",
"babel-plugin-add-basic-constructor-for-react-components": "^0.1.0",
"babel-plugin-codegen": "^3.0.0",
"babel-plugin-fix-dce-for-classes-with-statics": "^0.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin-emotion/package.json
Expand Up @@ -13,8 +13,8 @@
"test:typescript": "exit 0"
},
"dependencies": {
"@babel/helper-module-imports": "^7.0.0",
"@babel/runtime": "^7.5.5",
"@babel/helper-module-imports": "^7.7.0",
"@babel/runtime": "^7.7.2",
"@emotion/hash": "0.7.3",
"@emotion/memoize": "0.7.3",
"@emotion/serialize": "^1.0.0-next.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-jsx-pragmatic/package.json
Expand Up @@ -23,6 +23,6 @@
"access": "public"
},
"devDependencies": {
"@babel/core": "^7.5.5"
"@babel/core": "^7.7.2"
}
}
6 changes: 3 additions & 3 deletions packages/babel-preset-css-prop/package.json
Expand Up @@ -10,8 +10,8 @@
"test:typescript": "exit 0"
},
"dependencies": {
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/runtime": "^7.5.5",
"@babel/plugin-transform-react-jsx": "^7.7.0",
"@babel/runtime": "^7.7.2",
"@emotion/babel-plugin-jsx-pragmatic": "^0.1.4",
"babel-plugin-emotion": "^11.0.0-next.0"
},
Expand All @@ -26,6 +26,6 @@
"dist"
],
"devDependencies": {
"@babel/core": "^7.5.5"
"@babel/core": "^7.7.2"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Expand Up @@ -19,7 +19,7 @@
"test:typescript": "dtslint types"
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"@babel/runtime": "^7.7.2",
"@emotion/cache": "^11.0.0-next.0",
"@emotion/css": "^11.0.0-next.1",
"@emotion/serialize": "^1.0.0-next.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/emotion-theming/package.json
Expand Up @@ -39,7 +39,7 @@
"react": "^16.11.0"
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"@babel/runtime": "^7.7.2",
"@emotion/weak-memoize": "0.2.4",
"hoist-non-react-statics": "^3.3.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-emotion/package.json
Expand Up @@ -14,7 +14,7 @@
"test:typescript": "dtslint types"
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"@babel/runtime": "^7.7.2",
"@types/jest": "^23.0.2",
"chalk": "^2.4.1",
"css": "^2.2.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/styled/package.json
Expand Up @@ -11,7 +11,7 @@
"test:typescript": "dtslint types"
},
"dependencies": {
"@babel/runtime": "^7.5.5",
"@babel/runtime": "^7.7.2",
"@emotion/is-prop-valid": "0.8.5",
"@emotion/serialize": "^1.0.0-next.0",
"@emotion/utils": "0.11.2",
Expand Down
6 changes: 3 additions & 3 deletions scripts/babel-preset-emotion-dev/package.json
Expand Up @@ -4,11 +4,11 @@
"version": "9.2.6",
"private": true,
"scripts": {
"test:typescript": "exit 0"
"test:typescript": "exit 0"
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-flow-strip-types": "^7.4.4",
"@babel/plugin-proposal-class-properties": "^7.7.0",
"@babel/plugin-transform-flow-strip-types": "^7.6.3",
"babel-plugin-add-basic-constructor-for-react-components": "^0.1.0",
"babel-plugin-fix-dce-for-classes-with-statics": "^0.1.0"
}
Expand Down
6 changes: 4 additions & 2 deletions scripts/babel-preset-emotion-dev/src/index.js
Expand Up @@ -11,8 +11,10 @@ module.exports = () => {
require.resolve('babel-plugin-fix-dce-for-classes-with-statics'),
require.resolve('@babel/plugin-transform-flow-strip-types'),
require.resolve('babel-plugin-codegen'),
require.resolve('@babel/plugin-proposal-object-rest-spread'),
require.resolve('@babel/plugin-transform-runtime'),
[
require.resolve('@babel/plugin-transform-runtime'),
{ version: require('@babel/runtime/package.json').version }
],
[
require.resolve('@babel/plugin-proposal-class-properties'),
{ loose: true }
Expand Down
4 changes: 4 additions & 0 deletions scripts/babel-tester/package.json
Expand Up @@ -5,5 +5,9 @@
"private": true,
"scripts": {
"test:typescript": "exit 0"
},
"dependencies": {
"@babel/plugin-syntax-class-properties": "^7.2.0",
"@babel/plugin-syntax-object-rest-spread": "^7.2.0"
}
}
2 changes: 1 addition & 1 deletion scripts/babel-tester/src/index.js
Expand Up @@ -23,7 +23,7 @@ const tester = allOpts => async opts => {
plugins: [
'macros',
'@babel/plugin-syntax-jsx',
`@babel/plugin-syntax-class-properties`,
'@babel/plugin-syntax-class-properties',
'@babel/plugin-syntax-object-rest-spread',
...(allOpts.plugins || [])
],
Expand Down
2 changes: 1 addition & 1 deletion scripts/benchmarks/package.json
Expand Up @@ -9,7 +9,7 @@
"test:typescript": "exit 0"
},
"dependencies": {
"@babel/core": "^7.5.5",
"@babel/core": "^7.7.2",
"babel-core": "^6.26.3",
"babel-plugin-emotion": "^11.0.0-next.0",
"babel-plugin-react-native-web": "^0.9.6",
Expand Down

0 comments on commit 199c661

Please sign in to comment.