From 7754cf62280d1f90a69e4a4818d08428b796a5e7 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Tue, 26 Apr 2022 17:01:15 +0300 Subject: [PATCH] Drop support for node 12 and 17, update rest to latest minor version --- .babelrc-npm.json | 4 ++-- .node-version | 2 +- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.babelrc-npm.json b/.babelrc-npm.json index 357c91dbc0..70fd1db5e6 100644 --- a/.babelrc-npm.json +++ b/.babelrc-npm.json @@ -8,7 +8,7 @@ "presets": [ [ "@babel/preset-env", - { "modules": "commonjs", "targets": { "node": "12" } } + { "modules": "commonjs", "targets": { "node": "14" } } ] ], "plugins": [ @@ -17,7 +17,7 @@ }, "mjs": { "presets": [ - ["@babel/preset-env", { "modules": false, "targets": { "node": "12" } }] + ["@babel/preset-env", { "modules": false, "targets": { "node": "14" } }] ], "plugins": [ ["./resources/add-extension-to-import-paths", { "extension": "mjs" }] diff --git a/.node-version b/.node-version index 703a257b8b..3f430af82b 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -v17 +v18 diff --git a/package-lock.json b/package-lock.json index 82bf501fa8..1edd04d794 100644 --- a/package-lock.json +++ b/package-lock.json @@ -47,7 +47,7 @@ "url-loader": "4.1.1" }, "engines": { - "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" + "node": "^14.19.0 || ^16.10.0 || >=18.0.0" } }, "node_modules/@algolia/autocomplete-core": { diff --git a/package.json b/package.json index 34d1ace175..9e3f8fe944 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "graphql-js" ], "engines": { - "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || ^17.0.0 || >=18.0.0" + "node": "^14.19.0 || ^16.10.0 || >=18.0.0" }, "scripts": { "preversion": ". ./resources/checkgit.sh && npm ci --ignore-scripts",