Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build!: update minimum Node.js version from 14.17.5 to 16.0.0 #3399

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"semver": "^7.2.1"
},
"engines": {
"node": ">= 14.17.5"
"node": ">= 16.0.0"
},
"funding": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/api/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"yarn-or-npm": "^3.0.1"
},
"engines": {
"node": ">= 14.17.5"
"node": ">= 16.0.0"
},
"funding": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/appx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/deb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/dmg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/flatpak/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/pkg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/rpm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/squirrel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/wix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/maker/zip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/auto-unpack-natives/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/electronegativity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/fuses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/local-electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"mocha": "^9.0.1"
},
"engines": {
"node": ">= 14.17.5"
"node": ">= 16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/bitbucket/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/electron-release-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/nucleus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/publisher/snapcraft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/vite-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/webpack-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"yarn-or-npm": "^3.0.1"
},
"engines": {
"node": ">= 14.17.5"
"node": ">= 16.0.0"
},
"devDependencies": {
"chai": "^4.3.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"fs-extra": "^10.0.0"
},
"engines": {
"node": ">= 14.17.5"
"node": ">= 16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"listr2": "^5.0.3"
},
"engines": {
"node": ">= 14.17.5"
"node": ">= 16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/web-multi-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"xterm-addon-search": "^0.8.0"
},
"engines": {
"node": ">= 14.17.5"
"node": ">= 16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion tools/doc-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"custom-sidebar"
],
"engines": {
"node": ">= 14"
"node": ">= 16.0.0"
},
"devDependencies": {
"typescript": "^4.6.3"
Expand Down
2 changes: 1 addition & 1 deletion tools/doc-plugin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"include": ["src"],

"compilerOptions": {
"target": "es2018",
"target": "ES2021",
"module": "commonjs",
"moduleResolution": "node",
"forceConsistentCasingInFileNames": true,
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down