diff --git a/.circleci/config.yml b/.circleci/config.yml index 725be34a75..cb7e503179 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ defaults: &defaults working_directory: ~/repo executor: name: node/default - tag: '10.23' + tag: '12.22' jobs: test: diff --git a/package.json b/package.json index 1e4d746dd5..0378e5bc18 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "description": "Generate bundle report(bundle size, assets, modules, packages) and compare the results between different builds.", "engines": { - "node": ">= 10.0" + "node": ">= 12.0" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "4.22.1", diff --git a/packages/cli-utils/.babelrc.js b/packages/cli-utils/.babelrc.js index 373ab11b4b..7e22a3ef5f 100644 --- a/packages/cli-utils/.babelrc.js +++ b/packages/cli-utils/.babelrc.js @@ -4,7 +4,7 @@ module.exports = { useBuiltIns: 'usage', corejs: 3, targets: { - node: '8', + node: 'current', }, }], ], diff --git a/packages/cli-utils/package.json b/packages/cli-utils/package.json index b5661e20ea..41aaf07a15 100644 --- a/packages/cli-utils/package.json +++ b/packages/cli-utils/package.json @@ -7,7 +7,7 @@ "lib": "lib" }, "engines": { - "node": ">= 10.0" + "node": ">= 12.0" }, "scripts": { "build": "babel src -d lib", diff --git a/packages/cli/package.json b/packages/cli/package.json index c0e85ed9a1..3d17996081 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -10,7 +10,7 @@ "lib": "lib" }, "engines": { - "node": ">= 10.0" + "node": ">= 12.0" }, "scripts": { "lint": "../../node_modules/.bin/eslint . --ext .js", diff --git a/packages/gatsby-plugin/package.json b/packages/gatsby-plugin/package.json index 2aa36cd677..f8931de1d4 100644 --- a/packages/gatsby-plugin/package.json +++ b/packages/gatsby-plugin/package.json @@ -4,7 +4,7 @@ "description": "In-depth bundle analyzer for webpack(bundle size, assets, modules)", "main": "index.js", "engines": { - "node": ">= 10.0" + "node": ">= 12.0" }, "scripts": { "lint": "../../node_modules/.bin/eslint . --ext .js" diff --git a/packages/html-templates/.babelrc.js b/packages/html-templates/.babelrc.js index 0ca5a90558..48ca0263dd 100644 --- a/packages/html-templates/.babelrc.js +++ b/packages/html-templates/.babelrc.js @@ -47,7 +47,7 @@ module.exports = { modules: 'commonjs', corejs: 3, targets: { - node: 8, + node: 'current', }, }, ], diff --git a/packages/next-plugin/package.json b/packages/next-plugin/package.json index dd323d93ea..f8eea73b1e 100644 --- a/packages/next-plugin/package.json +++ b/packages/next-plugin/package.json @@ -4,7 +4,7 @@ "description": "In-depth bundle analyzer for webpack(bundle size, assets, modules)", "main": "index.js", "engines": { - "node": ">= 10.0" + "node": ">= 12.0" }, "scripts": { "lint": "../../node_modules/.bin/eslint . --ext .js" diff --git a/packages/utils/package.json b/packages/utils/package.json index 63aeeeda7e..0454ceeca2 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -6,7 +6,7 @@ "module": "lib-esm/index.js", "types": "types/index.d.ts", "engines": { - "node": ">= 10.0" + "node": ">= 12.0" }, "directories": { "lib": "lib" diff --git a/packages/webpack-plugin/.babelrc.js b/packages/webpack-plugin/.babelrc.js index 373ab11b4b..7e22a3ef5f 100644 --- a/packages/webpack-plugin/.babelrc.js +++ b/packages/webpack-plugin/.babelrc.js @@ -4,7 +4,7 @@ module.exports = { useBuiltIns: 'usage', corejs: 3, targets: { - node: '8', + node: 'current', }, }], ], diff --git a/packages/webpack-plugin/package.json b/packages/webpack-plugin/package.json index d599ade616..17e225f227 100644 --- a/packages/webpack-plugin/package.json +++ b/packages/webpack-plugin/package.json @@ -8,7 +8,7 @@ "lib": "lib" }, "engines": { - "node": ">= 10.0" + "node": ">= 12.0" }, "scripts": { "build": "babel src -d lib",