Skip to content

Commit

Permalink
deps(babel): Update to v7.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
Miles Johnson committed Jan 22, 2020
1 parent d528ec2 commit 584fd37
Show file tree
Hide file tree
Showing 5 changed files with 683 additions and 663 deletions.
22 changes: 9 additions & 13 deletions packages/config-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,18 @@
},
"dependencies": {
"@airbnb/nimbus-common": "^2.1.0",
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-class-properties": "^7.7.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
"@babel/plugin-proposal-optional-catch-binding": "^7.7.4",
"@babel/plugin-proposal-optional-chaining": "^7.7.5",
"@babel/plugin-transform-react-jsx-self": "^7.7.4",
"@babel/plugin-transform-react-jsx-source": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.7.7",
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-react-jsx-self": "^7.8.3",
"@babel/plugin-transform-react-jsx-source": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@beemo/core": "^1.1.1",
"@beemo/driver-babel": "^1.2.0",
"babel-plugin-graphql-tag": "^2.5.0",
"babel-plugin-idx": "^2.4.0",
"babel-plugin-transform-dev": "^2.0.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-plugin-typescript-to-proptypes": "^1.1.0"
Expand Down
8 changes: 1 addition & 7 deletions packages/config-babel/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export function getConfig({
};
const presets: NonNullable<BabelConfig['presets']> = [['@babel/preset-env', envOptions]];
const plugins: NonNullable<BabelConfig['plugins']> = [
'babel-plugin-idx',
['babel-plugin-transform-dev', { evaluate: false }],
];

Expand Down Expand Up @@ -97,12 +96,7 @@ export function getConfig({
}

if (useNext) {
plugins.push(
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-optional-catch-binding',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
);
plugins.push('@babel/plugin-proposal-class-properties');
}

return {
Expand Down
2 changes: 1 addition & 1 deletion packages/config-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"dependencies": {
"@airbnb/nimbus-common": "^2.1.0",
"@babel/core": "^7.7.7",
"@babel/core": "^7.8.3",
"@beemo/core": "^1.1.1",
"@beemo/driver-babel": "^1.2.0",
"@beemo/driver-jest": "^1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/config-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"dependencies": {
"@airbnb/nimbus-common": "^2.1.0",
"@babel/core": "^7.7.7",
"@babel/core": "^7.8.3",
"@beemo/core": "^1.1.1",
"@beemo/driver-webpack": "^1.2.0",
"babel-loader": "^8.0.6",
Expand Down
Loading

0 comments on commit 584fd37

Please sign in to comment.