Skip to content

Commit

Permalink
refactor!: update minimum Node.js version to 12 (#408)
Browse files Browse the repository at this point in the history
* refactor!: update minimum Node.js version to 12 in package engines field
* chore(tests): update test snapshots
* chore(ci): remove Node.js 10 from GitHub CI

BREAKING CHANGE
  • Loading branch information
brodycj authored Feb 10, 2021
1 parent fb114a8 commit 7dd6636
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
- macos-latest
- windows-latest
node-version:
- 10.x
- 12.x
- 14.x
- 15.x
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"bin": "bin/cli.js",
"main": "lib/lib.js",
"engines": {
"node": ">= 10.20"
"node": ">= 12"
},
"scripts": {
"jest": "cross-env CI=1 jest",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Array [
Object {
"please-upgrade-node": Object {
"engines": Object {
"node": ">= 10.20",
"node": ">= 12",
},
"name": "create-react-native-module",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Array [
Object {
"please-upgrade-node": Object {
"engines": Object {
"node": ">= 10.20",
"node": ">= 12",
},
"name": "create-react-native-module",
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Array [
Object {
"please-upgrade-node": Object {
"engines": Object {
"node": ">= 10.20",
"node": ">= 12",
},
"name": "create-react-native-module",
},
Expand Down

0 comments on commit 7dd6636

Please sign in to comment.