Skip to content

Commit

Permalink
Drop support for Node10 (graphql#2923)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Feb 20, 2021
1 parent 5c9d73f commit 3bd48b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .babelrc-npm.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"presets": [
[
"@babel/preset-env",
{ "modules": "commonjs", "targets": { "node": "10" } }
{ "modules": "commonjs", "targets": { "node": "12" } }
]
],
"plugins": [
Expand All @@ -17,7 +17,7 @@
},
"mjs": {
"presets": [
["@babel/preset-env", { "modules": false, "targets": { "node": "10" } }]
["@babel/preset-env", { "modules": false, "targets": { "node": "12" } }]
],
"plugins": [
["./resources/add-extension-to-import-paths", { "extension": "mjs" }]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node_version_to_setup: [10, 12, 14, 15]
node_version_to_setup: [12, 14, 15]
steps:
- name: Checkout repo
uses: actions/checkout@v2
Expand Down
1 change: 0 additions & 1 deletion integrationTests/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
},
"dependencies": {
"graphql": "file:../graphql.tgz",
"node-10": "npm:node@10.x.x",
"node-12": "npm:node@12.x.x",
"node-14": "npm:node@14.x.x",
"node-15": "npm:node@15.x.x"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"graphql-js"
],
"engines": {
"node": ">= 10.x"
"node": "^12.20.0 || ^14.15.0 || >= 15.9.0"
},
"scripts": {
"preversion": ". ./resources/checkgit.sh && npm ci",
Expand Down

0 comments on commit 3bd48b3

Please sign in to comment.