Skip to content

Commit fe03bfb

Browse files
renovate[bot]renovate-botchambo-e
authored
chore(devdeps): update babel monorepo to v7.16.0 (#463)
* chore(devdeps): update babel monorepo to v7.16.0 * fix: upgrade config * fix: reverse config * fix: correct preset order Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Emmanuel Chambon <[email protected]>
1 parent 0fda02a commit fe03bfb

File tree

4 files changed

+607
-599
lines changed

4 files changed

+607
-599
lines changed

babel.config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"presets": ["@babel/preset-typescript", "@babel/preset-env", "@babel/preset-react"],
2+
"presets": ["@babel/preset-env", "@babel/preset-react", ["@babel/preset-typescript", { "allowDeclareFields": true }]],
33
"plugins": ["@babel/plugin-transform-runtime"]
44
}

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
],
77
"type": "module",
88
"devDependencies": {
9-
"@babel/core": "7.15.8",
10-
"@babel/eslint-parser": "7.15.8",
11-
"@babel/plugin-transform-runtime": "7.15.8",
12-
"@babel/preset-env": "7.15.8",
13-
"@babel/preset-react": "7.14.5",
14-
"@babel/preset-typescript": "7.15.0",
9+
"@babel/core": "7.16.0",
10+
"@babel/eslint-parser": "7.16.0",
11+
"@babel/plugin-transform-runtime": "7.16.0",
12+
"@babel/preset-env": "7.16.0",
13+
"@babel/preset-react": "7.16.0",
14+
"@babel/preset-typescript": "7.16.0",
1515
"@commitlint/cli": "14.1.0",
1616
"@commitlint/config-conventional": "14.1.0",
1717
"@rollup/plugin-babel": "5.3.0",

rollup.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ const getConfig = (pkg, isBrowser = false) => {
4242
'@babel/plugin-transform-react-jsx',
4343
],
4444
presets: [
45-
'@babel/preset-typescript',
4645
['@babel/env', { modules: false, targets }],
46+
'@babel/preset-typescript',
4747
],
4848
}),
4949
nodeResolve({

0 commit comments

Comments
 (0)