diff --git a/README.md b/README.md index 47792fcbd1..56f1f05637 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ _Note: The major version bump between v5.0.0 and v6.0.0 contains major breaking Pre-requisites: -- Node 14.17.5 or higher +- Node 16.0.0 or higher - Git If you have a more recent version of `npm` or `yarn`, you can use diff --git a/package.json b/package.json index 16116108b6..37af3e7929 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "license": "MIT", "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "scripts": { "clean": "rimraf dist && lerna exec -- rimraf dist tsconfig.tsbuildinfo", diff --git a/packages/api/cli/package.json b/packages/api/cli/package.json index 6677e84c36..677b0972b4 100644 --- a/packages/api/cli/package.json +++ b/packages/api/cli/package.json @@ -28,7 +28,7 @@ "semver": "^7.2.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "funding": [ { diff --git a/packages/api/core/package.json b/packages/api/core/package.json index 4cbd757f38..c9700888bb 100644 --- a/packages/api/core/package.json +++ b/packages/api/core/package.json @@ -76,7 +76,7 @@ "yarn-or-npm": "^3.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "funding": [ { diff --git a/packages/maker/appx/package.json b/packages/maker/appx/package.json index b52087d33a..5345e85595 100644 --- a/packages/maker/appx/package.json +++ b/packages/maker/appx/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/maker-base": "6.4.2", diff --git a/packages/maker/base/package.json b/packages/maker/base/package.json index 019890748a..bd109b7f4f 100644 --- a/packages/maker/base/package.json +++ b/packages/maker/base/package.json @@ -13,7 +13,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/shared-types": "6.4.2", diff --git a/packages/maker/deb/package.json b/packages/maker/deb/package.json index ee655ca06b..27680043e1 100644 --- a/packages/maker/deb/package.json +++ b/packages/maker/deb/package.json @@ -15,7 +15,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/maker-base": "6.4.2", diff --git a/packages/maker/dmg/package.json b/packages/maker/dmg/package.json index 39fe083970..5633b682a2 100644 --- a/packages/maker/dmg/package.json +++ b/packages/maker/dmg/package.json @@ -19,7 +19,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/maker-base": "6.4.2", diff --git a/packages/maker/flatpak/package.json b/packages/maker/flatpak/package.json index f570551f5b..9ead651226 100644 --- a/packages/maker/flatpak/package.json +++ b/packages/maker/flatpak/package.json @@ -19,7 +19,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/maker-base": "6.4.2", diff --git a/packages/maker/pkg/package.json b/packages/maker/pkg/package.json index 02e9e1e493..ab1bf50835 100644 --- a/packages/maker/pkg/package.json +++ b/packages/maker/pkg/package.json @@ -14,7 +14,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/maker-base": "6.4.2", diff --git a/packages/maker/rpm/package.json b/packages/maker/rpm/package.json index 0aa84a2b29..191ed9d231 100644 --- a/packages/maker/rpm/package.json +++ b/packages/maker/rpm/package.json @@ -19,7 +19,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/maker-base": "6.4.2", diff --git a/packages/maker/snap/package.json b/packages/maker/snap/package.json index 84a6a450bc..85d9492145 100644 --- a/packages/maker/snap/package.json +++ b/packages/maker/snap/package.json @@ -18,7 +18,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/maker-base": "6.4.2", diff --git a/packages/maker/squirrel/package.json b/packages/maker/squirrel/package.json index 7408c0f5ed..5bcb3f35fb 100644 --- a/packages/maker/squirrel/package.json +++ b/packages/maker/squirrel/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/maker-base": "6.4.2", diff --git a/packages/maker/wix/package.json b/packages/maker/wix/package.json index bee8038fc3..fe2cc06fe0 100644 --- a/packages/maker/wix/package.json +++ b/packages/maker/wix/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/maker-base": "6.4.2", diff --git a/packages/maker/zip/package.json b/packages/maker/zip/package.json index 1b2b7c6f8a..fcab8b593c 100644 --- a/packages/maker/zip/package.json +++ b/packages/maker/zip/package.json @@ -13,7 +13,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/maker-base": "6.4.2", diff --git a/packages/plugin/auto-unpack-natives/package.json b/packages/plugin/auto-unpack-natives/package.json index 983ca895b1..33800d9236 100644 --- a/packages/plugin/auto-unpack-natives/package.json +++ b/packages/plugin/auto-unpack-natives/package.json @@ -8,7 +8,7 @@ "main": "dist/AutoUnpackNativesPlugin.js", "typings": "dist/AutoUnpackNativesPlugin.d.ts", "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/plugin-base": "6.4.2", diff --git a/packages/plugin/base/package.json b/packages/plugin/base/package.json index c96efbacae..0b898b85d9 100644 --- a/packages/plugin/base/package.json +++ b/packages/plugin/base/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/shared-types": "6.4.2" diff --git a/packages/plugin/electronegativity/package.json b/packages/plugin/electronegativity/package.json index d133174164..ba3ef63828 100644 --- a/packages/plugin/electronegativity/package.json +++ b/packages/plugin/electronegativity/package.json @@ -12,7 +12,7 @@ "main": "dist/ElectronegativityPlugin.js", "typings": "dist/ElectronegativityPlugin.d.ts", "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@doyensec/electronegativity": "^1.9.1", diff --git a/packages/plugin/fuses/package.json b/packages/plugin/fuses/package.json index 2d551ba0cd..e2eba87fdb 100644 --- a/packages/plugin/fuses/package.json +++ b/packages/plugin/fuses/package.json @@ -28,7 +28,7 @@ "@electron/fuses": ">=1.0.0" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/plugin-base": "6.4.2", diff --git a/packages/plugin/local-electron/package.json b/packages/plugin/local-electron/package.json index ca81da662c..3958a3bfac 100644 --- a/packages/plugin/local-electron/package.json +++ b/packages/plugin/local-electron/package.json @@ -8,7 +8,7 @@ "main": "dist/LocalElectronPlugin.js", "typings": "dist/LocalElectronPlugin.d.ts", "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/plugin-base": "6.4.2", diff --git a/packages/plugin/vite/package.json b/packages/plugin/vite/package.json index 561f584bdf..b9b24567ea 100644 --- a/packages/plugin/vite/package.json +++ b/packages/plugin/vite/package.json @@ -24,7 +24,7 @@ "xvfb-maybe": "^0.2.1" }, "engines": { - "node": "^14.18.0 || >=16.0.0" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/core-utils": "6.4.2", diff --git a/packages/plugin/webpack/package.json b/packages/plugin/webpack/package.json index 817c7f54a1..c4229c4671 100644 --- a/packages/plugin/webpack/package.json +++ b/packages/plugin/webpack/package.json @@ -21,7 +21,7 @@ "xvfb-maybe": "^0.2.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/core-utils": "6.4.2", diff --git a/packages/publisher/base/package.json b/packages/publisher/base/package.json index 56732b6f20..6bb58871ee 100644 --- a/packages/publisher/base/package.json +++ b/packages/publisher/base/package.json @@ -19,7 +19,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "publishConfig": { "access": "public" diff --git a/packages/publisher/bitbucket/package.json b/packages/publisher/bitbucket/package.json index 629d2c8ffb..ef2f816af9 100644 --- a/packages/publisher/bitbucket/package.json +++ b/packages/publisher/bitbucket/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/publisher-base": "6.4.2", diff --git a/packages/publisher/electron-release-server/package.json b/packages/publisher/electron-release-server/package.json index 765511ffcc..9c283df89b 100644 --- a/packages/publisher/electron-release-server/package.json +++ b/packages/publisher/electron-release-server/package.json @@ -15,7 +15,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/publisher-base": "6.4.2", diff --git a/packages/publisher/github/package.json b/packages/publisher/github/package.json index 5486221ee9..6856244b8b 100644 --- a/packages/publisher/github/package.json +++ b/packages/publisher/github/package.json @@ -18,7 +18,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/publisher-base": "6.4.2", diff --git a/packages/publisher/nucleus/package.json b/packages/publisher/nucleus/package.json index 574d6752d3..1005203fbd 100644 --- a/packages/publisher/nucleus/package.json +++ b/packages/publisher/nucleus/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/publisher-base": "6.4.2", diff --git a/packages/publisher/s3/package.json b/packages/publisher/s3/package.json index b196d0e94e..2571ac979c 100644 --- a/packages/publisher/s3/package.json +++ b/packages/publisher/s3/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@aws-sdk/abort-controller": "^3.29.0", diff --git a/packages/publisher/snapcraft/package.json b/packages/publisher/snapcraft/package.json index e34e7abdca..8ef2b9db07 100644 --- a/packages/publisher/snapcraft/package.json +++ b/packages/publisher/snapcraft/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/publisher-base": "6.4.2", diff --git a/packages/template/base/package.json b/packages/template/base/package.json index cba32d2fd6..6511e7fb8c 100644 --- a/packages/template/base/package.json +++ b/packages/template/base/package.json @@ -11,7 +11,7 @@ "test": "mocha --config ../../../.mocharc.js test/**/*_spec.ts" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/shared-types": "6.4.2", diff --git a/packages/template/vite-typescript/package.json b/packages/template/vite-typescript/package.json index 76606cf8f0..00cb912b4a 100644 --- a/packages/template/vite-typescript/package.json +++ b/packages/template/vite-typescript/package.json @@ -15,7 +15,7 @@ "test": "mocha --config ../../../.mocharc.js test/**/*_spec_slow.ts" }, "engines": { - "node": "^14.18.0 || >=16.0.0" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/shared-types": "6.4.2", diff --git a/packages/template/vite/package.json b/packages/template/vite/package.json index 712a42fdbb..ca31831f8a 100644 --- a/packages/template/vite/package.json +++ b/packages/template/vite/package.json @@ -15,7 +15,7 @@ "test": "mocha --config ../../../.mocharc.js test/**/*_spec.ts" }, "engines": { - "node": "^14.18.0 || >=16.0.0" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/shared-types": "6.4.2", diff --git a/packages/template/webpack-typescript/package.json b/packages/template/webpack-typescript/package.json index d3eb20db4f..356896299c 100644 --- a/packages/template/webpack-typescript/package.json +++ b/packages/template/webpack-typescript/package.json @@ -11,7 +11,7 @@ "test": "mocha --config ../../../.mocharc.js test/**/*_spec_slow.ts" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/shared-types": "6.4.2", diff --git a/packages/template/webpack/package.json b/packages/template/webpack/package.json index cde6e0a3fd..8d45c1a889 100644 --- a/packages/template/webpack/package.json +++ b/packages/template/webpack/package.json @@ -11,7 +11,7 @@ "test": "mocha --config ../../../.mocharc.js test/**/*_spec.ts" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "dependencies": { "@electron-forge/shared-types": "6.4.2", diff --git a/packages/utils/core-utils/package.json b/packages/utils/core-utils/package.json index 8c12d6495d..2e7a964dc6 100644 --- a/packages/utils/core-utils/package.json +++ b/packages/utils/core-utils/package.json @@ -20,7 +20,7 @@ "yarn-or-npm": "^3.0.1" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "devDependencies": { "chai": "^4.3.3" diff --git a/packages/utils/test-utils/package.json b/packages/utils/test-utils/package.json index 9a1621f94a..bff45d49ce 100644 --- a/packages/utils/test-utils/package.json +++ b/packages/utils/test-utils/package.json @@ -13,7 +13,7 @@ "fs-extra": "^10.0.0" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "publishConfig": { "access": "public" diff --git a/packages/utils/types/package.json b/packages/utils/types/package.json index 797531596f..f3ca28b8d5 100644 --- a/packages/utils/types/package.json +++ b/packages/utils/types/package.json @@ -13,7 +13,7 @@ "listr2": "^5.0.3" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "publishConfig": { "access": "public" diff --git a/packages/utils/web-multi-logger/package.json b/packages/utils/web-multi-logger/package.json index e9d5a6898f..d1e32e951c 100644 --- a/packages/utils/web-multi-logger/package.json +++ b/packages/utils/web-multi-logger/package.json @@ -15,7 +15,7 @@ "xterm-addon-search": "^0.8.0" }, "engines": { - "node": ">= 14.17.5" + "node": ">= 16.0.0" }, "publishConfig": { "access": "public" diff --git a/tools/doc-plugin/package.json b/tools/doc-plugin/package.json index c7fe3e2c9e..9e120e0642 100644 --- a/tools/doc-plugin/package.json +++ b/tools/doc-plugin/package.json @@ -9,7 +9,7 @@ "custom-sidebar" ], "engines": { - "node": ">= 14" + "node": ">= 16.0.0" }, "devDependencies": { "typescript": "^4.6.3" diff --git a/tools/doc-plugin/tsconfig.json b/tools/doc-plugin/tsconfig.json index 6a8f31c5f3..af228080fb 100644 --- a/tools/doc-plugin/tsconfig.json +++ b/tools/doc-plugin/tsconfig.json @@ -2,7 +2,7 @@ "include": ["src"], "compilerOptions": { - "target": "es2018", + "target": "ES2021", "module": "commonjs", "moduleResolution": "node", "forceConsistentCasingInFileNames": true, diff --git a/tsconfig.base.json b/tsconfig.base.json index e788478fce..82b15e5948 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1,9 +1,9 @@ { "compilerOptions": { "module": "commonjs", - "target": "es2019", + "target": "ES2021", "outDir": "dist", - "lib": ["dom", "es2019"], + "lib": ["dom", "ES2021"], "inlineSourceMap": true, "rootDir": "src", "experimentalDecorators": true, diff --git a/tsconfig.test.json b/tsconfig.test.json index 9a918fb638..1d5241e119 100644 --- a/tsconfig.test.json +++ b/tsconfig.test.json @@ -2,9 +2,9 @@ "//": "⚠️ NOTE: this file is only used for tests, individual packages have their own tsconfig.json files generated by `tools/gen-tsconfigs.ts`", "compilerOptions": { "module": "commonjs", - "target": "es2019", + "target": "ES2021", "outDir": "dist", - "lib": ["dom", "es2019"], + "lib": ["dom", "ES2021"], "sourceMap": true, "experimentalDecorators": true, "strict": true,