Skip to content

Commit

Permalink
Bump react from 16.14.0 to 17.0.0 (#42)
Browse files Browse the repository at this point in the history
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Renée Kooi <renee@kooi.me>
  • Loading branch information
dependabot-preview[bot] and goto-bus-stop committed Oct 21, 2020
1 parent 5ddefdd commit 057ddd8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
4 changes: 1 addition & 3 deletions .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ module.exports = {
loose: true,
targets: TEST ? { node: 'current' } : {},
}],
['@babel/react', {
useBuiltIns: true,
}],
['@babel/react', { runtime: 'automatic' }],
],
plugins: TEST ? ['istanbul'] : [],
};
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"expect": "^26.0.1",
"mocha": "^8.0.1",
"nyc": "^15.0.0",
"react": "^16.13.0",
"react-dom": "^16.13.0",
"react-test-renderer": "^16.13.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-test-renderer": "^17.0.0",
"rollup": "^2.0.6"
},
"homepage": "https://github.com/u-wave/react-translate#readme",
Expand All @@ -43,7 +43,7 @@
"main": "dist/react-translate.js",
"module": "dist/react-translate.mjs",
"peerDependencies": {
"react": "^16.3.0"
"react": "^17.0.0"
},
"repository": {
"type": "git",
Expand Down
3 changes: 2 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export default {
],

external: Object.keys(meta.dependencies)
.concat(Object.keys(meta.peerDependencies)),
.concat(Object.keys(meta.peerDependencies))
.concat(['react/jsx-runtime']),
plugins: [
babel({
babelHelpers: 'bundled',
Expand Down

0 comments on commit 057ddd8

Please sign in to comment.