Skip to content

Commit

Permalink
chore(breaking): use Node 12 as compile target (react-native-communit…
Browse files Browse the repository at this point in the history
  • Loading branch information
Naturalclar authored Nov 18, 2020
1 parent f94673c commit 668485b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ defaults: &defaults
working_directory: ~/react-native-cli

executors:
node10:
node12:
<<: *defaults
docker:
- image: circleci/node:dubnium
- image: circleci/node:erbium
nodelts:
<<: *defaults
docker:
Expand Down Expand Up @@ -68,11 +68,11 @@ commands:

jobs:
setup:
executor: node10
executor: node12
steps:
- install-dependencies
lint:
executor: node10
executor: node12
steps:
- run-lint
cocoa-pods:
Expand All @@ -81,7 +81,7 @@ jobs:
- install-cocoapods
- run-cocoa-pods-tests
unit-tests:
executor: node10
executor: node12
steps:
- run-unit-tests
e2e-tests:
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
[
require.resolve('@babel/preset-env'),
{
targets: {node: '10'},
targets: {node: '12'},
useBuiltIns: 'entry',
corejs: '2.x',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"engineStrict": true,
"engines": {
"node": ">=10"
"node": ">=12"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 668485b

Please sign in to comment.