From c75db90316ae7639289c08301d9c10ca81a21029 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Sun, 14 Feb 2021 19:54:33 +0200 Subject: [PATCH] Drop support for Node10 --- .babelrc-npm.json | 4 ++-- .github/workflows/ci.yml | 2 +- integrationTests/node/package.json | 1 - package.json | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.babelrc-npm.json b/.babelrc-npm.json index c35103a6b8..16b40d26a9 100644 --- a/.babelrc-npm.json +++ b/.babelrc-npm.json @@ -8,7 +8,7 @@ "presets": [ [ "@babel/preset-env", - { "modules": "commonjs", "targets": { "node": "10" } } + { "modules": "commonjs", "targets": { "node": "12" } } ] ], "plugins": [ @@ -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" }] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19607a519f..95c154426a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/integrationTests/node/package.json b/integrationTests/node/package.json index 0b6122b6de..b828be9e43 100644 --- a/integrationTests/node/package.json +++ b/integrationTests/node/package.json @@ -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" diff --git a/package.json b/package.json index 10d266b868..95783e65ca 100644 --- a/package.json +++ b/package.json @@ -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",