From 4dcca1cebb3d4c45a98b220d8453d1ffeca2c9b5 Mon Sep 17 00:00:00 2001 From: Keeley Hammond Date: Thu, 21 Jul 2022 16:08:38 -0700 Subject: [PATCH] feat!: upgrade Node.js to 14 LTS (#2921) --- .github/workflows/ci.yml | 8 ++++---- package.json | 4 ++-- packages/api/cli/package.json | 2 +- packages/api/core/package.json | 2 +- packages/installer/base/package.json | 2 +- packages/installer/darwin/package.json | 2 +- packages/installer/deb/package.json | 2 +- packages/installer/dmg/package.json | 2 +- packages/installer/exe/package.json | 2 +- packages/installer/linux/package.json | 2 +- packages/installer/rpm/package.json | 2 +- packages/installer/zip/package.json | 2 +- packages/maker/appx/package.json | 2 +- packages/maker/base/package.json | 2 +- packages/maker/deb/package.json | 2 +- packages/maker/dmg/package.json | 2 +- packages/maker/flatpak/package.json | 2 +- packages/maker/pkg/package.json | 2 +- packages/maker/rpm/package.json | 2 +- packages/maker/snap/package.json | 2 +- packages/maker/squirrel/package.json | 2 +- packages/maker/wix/package.json | 2 +- packages/maker/zip/package.json | 2 +- packages/plugin/auto-unpack-natives/package.json | 2 +- packages/plugin/base/package.json | 2 +- packages/plugin/compile/package.json | 2 +- packages/plugin/electronegativity/package.json | 2 +- packages/plugin/local-electron/package.json | 2 +- packages/plugin/webpack/package.json | 2 +- packages/publisher/base/package.json | 2 +- packages/publisher/bitbucket/package.json | 2 +- packages/publisher/electron-release-server/package.json | 2 +- packages/publisher/github/package.json | 2 +- packages/publisher/nucleus/package.json | 2 +- packages/publisher/s3/package.json | 2 +- packages/publisher/snapcraft/package.json | 2 +- packages/template/base/package.json | 2 +- packages/template/typescript-webpack/package.json | 2 +- packages/template/typescript/package.json | 2 +- packages/template/webpack/package.json | 2 +- packages/utils/async-ora/package.json | 2 +- packages/utils/test-utils/package.json | 2 +- packages/utils/types/package.json | 2 +- packages/utils/web-multi-logger/package.json | 2 +- 44 files changed, 48 insertions(+), 48 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d351c47cb..922a169b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,10 +37,10 @@ jobs: - name: Fix git checkout line endings run: git config --global core.autocrlf input - uses: actions/checkout@v3.0.2 - - name: Use Node.js 12.x + - name: Use Node.js 14.x uses: actions/setup-node@v2.5.1 with: - node-version: 12.x + node-version: 14.x cache: yarn - name: Install latest NPM on Windows if: matrix.os == 'windows-latest' @@ -100,10 +100,10 @@ jobs: sudo apt-get update sudo apt-get install -y --no-install-recommends snapcraft flatpak-builder elfutils ci/install_runtimes.sh - - name: Use Node.js 12.x + - name: Use Node.js 14.x uses: actions/setup-node@v2.5.1 with: - node-version: 12.x + node-version: 14.x cache: yarn - name: Install bolt shell: bash diff --git a/package.json b/package.json index 19c27d35c..b674e9121 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "license": "MIT", "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "bolt": { "workspaces": [ @@ -171,6 +171,6 @@ "singleQuote": true }, "volta": { - "node": "12.22.4" + "node": "14.17.5" } } diff --git a/packages/api/cli/package.json b/packages/api/cli/package.json index 9e9b2b611..fc07eecc7 100644 --- a/packages/api/cli/package.json +++ b/packages/api/cli/package.json @@ -29,7 +29,7 @@ "semver": "^7.2.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "funding": [ { diff --git a/packages/api/core/package.json b/packages/api/core/package.json index c87de73fd..d563af3f7 100644 --- a/packages/api/core/package.json +++ b/packages/api/core/package.json @@ -75,7 +75,7 @@ "yarn-or-npm": "^3.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "funding": [ { diff --git a/packages/installer/base/package.json b/packages/installer/base/package.json index 434de92e8..8bba0b55b 100644 --- a/packages/installer/base/package.json +++ b/packages/installer/base/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64" diff --git a/packages/installer/darwin/package.json b/packages/installer/darwin/package.json index 65195e848..5dcebdc22 100644 --- a/packages/installer/darwin/package.json +++ b/packages/installer/darwin/package.json @@ -11,7 +11,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/installer/deb/package.json b/packages/installer/deb/package.json index d87c38a9c..573bbaadf 100644 --- a/packages/installer/deb/package.json +++ b/packages/installer/deb/package.json @@ -11,7 +11,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/installer-linux": "6.0.0-beta.64" diff --git a/packages/installer/dmg/package.json b/packages/installer/dmg/package.json index 38fcaf6a8..10ac02ee1 100644 --- a/packages/installer/dmg/package.json +++ b/packages/installer/dmg/package.json @@ -11,7 +11,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/installer-darwin": "6.0.0-beta.64", diff --git a/packages/installer/exe/package.json b/packages/installer/exe/package.json index 916eef8bb..8be1d600b 100644 --- a/packages/installer/exe/package.json +++ b/packages/installer/exe/package.json @@ -11,7 +11,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/installer-base": "6.0.0-beta.64", diff --git a/packages/installer/linux/package.json b/packages/installer/linux/package.json index 40da6d5d7..905d9f0ae 100644 --- a/packages/installer/linux/package.json +++ b/packages/installer/linux/package.json @@ -11,7 +11,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/installer-base": "6.0.0-beta.64", diff --git a/packages/installer/rpm/package.json b/packages/installer/rpm/package.json index ff400cb68..9c6c65c41 100644 --- a/packages/installer/rpm/package.json +++ b/packages/installer/rpm/package.json @@ -11,7 +11,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/installer-linux": "6.0.0-beta.64" diff --git a/packages/installer/zip/package.json b/packages/installer/zip/package.json index 83ac3a3ef..4af4278e6 100644 --- a/packages/installer/zip/package.json +++ b/packages/installer/zip/package.json @@ -11,7 +11,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/installer-darwin": "6.0.0-beta.64", diff --git a/packages/maker/appx/package.json b/packages/maker/appx/package.json index 997f9efa7..8285df685 100644 --- a/packages/maker/appx/package.json +++ b/packages/maker/appx/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/maker-base": "6.0.0-beta.64", diff --git a/packages/maker/base/package.json b/packages/maker/base/package.json index 240beb984..6fab690c7 100644 --- a/packages/maker/base/package.json +++ b/packages/maker/base/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/shared-types": "6.0.0-beta.64", diff --git a/packages/maker/deb/package.json b/packages/maker/deb/package.json index a730a585e..041cc67cc 100644 --- a/packages/maker/deb/package.json +++ b/packages/maker/deb/package.json @@ -15,7 +15,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/maker-base": "6.0.0-beta.64", diff --git a/packages/maker/dmg/package.json b/packages/maker/dmg/package.json index 7338a023a..8da973d88 100644 --- a/packages/maker/dmg/package.json +++ b/packages/maker/dmg/package.json @@ -19,7 +19,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/maker-base": "6.0.0-beta.64", diff --git a/packages/maker/flatpak/package.json b/packages/maker/flatpak/package.json index 5e9ed80a2..275139c59 100644 --- a/packages/maker/flatpak/package.json +++ b/packages/maker/flatpak/package.json @@ -19,7 +19,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/maker-base": "6.0.0-beta.64", diff --git a/packages/maker/pkg/package.json b/packages/maker/pkg/package.json index 82a9d8fab..a7a4da946 100644 --- a/packages/maker/pkg/package.json +++ b/packages/maker/pkg/package.json @@ -15,7 +15,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/maker-base": "6.0.0-beta.64", diff --git a/packages/maker/rpm/package.json b/packages/maker/rpm/package.json index bd62204b7..366b6254d 100644 --- a/packages/maker/rpm/package.json +++ b/packages/maker/rpm/package.json @@ -19,7 +19,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/maker-base": "6.0.0-beta.64", diff --git a/packages/maker/snap/package.json b/packages/maker/snap/package.json index 890b07b5f..eab254c3f 100644 --- a/packages/maker/snap/package.json +++ b/packages/maker/snap/package.json @@ -19,7 +19,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/maker-base": "6.0.0-beta.64", diff --git a/packages/maker/squirrel/package.json b/packages/maker/squirrel/package.json index 87054590d..015837b6b 100644 --- a/packages/maker/squirrel/package.json +++ b/packages/maker/squirrel/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/maker-base": "6.0.0-beta.64", diff --git a/packages/maker/wix/package.json b/packages/maker/wix/package.json index 8ab080c70..e360b0256 100644 --- a/packages/maker/wix/package.json +++ b/packages/maker/wix/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/maker-base": "6.0.0-beta.64", diff --git a/packages/maker/zip/package.json b/packages/maker/zip/package.json index 1df5003e1..6350b58ae 100644 --- a/packages/maker/zip/package.json +++ b/packages/maker/zip/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/maker-base": "6.0.0-beta.64", diff --git a/packages/plugin/auto-unpack-natives/package.json b/packages/plugin/auto-unpack-natives/package.json index c9c84a753..baf00673b 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": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/plugin-base": "6.0.0-beta.64", diff --git a/packages/plugin/base/package.json b/packages/plugin/base/package.json index 3112df6a0..6193711f5 100644 --- a/packages/plugin/base/package.json +++ b/packages/plugin/base/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/shared-types": "6.0.0-beta.64" diff --git a/packages/plugin/compile/package.json b/packages/plugin/compile/package.json index 0da4adffe..933d132be 100644 --- a/packages/plugin/compile/package.json +++ b/packages/plugin/compile/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/plugin/electronegativity/package.json b/packages/plugin/electronegativity/package.json index a179df4df..8fee50e6a 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": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@doyensec/electronegativity": "^1.9.1", diff --git a/packages/plugin/local-electron/package.json b/packages/plugin/local-electron/package.json index 3770df44e..f6b963931 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": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/plugin-base": "6.0.0-beta.64", diff --git a/packages/plugin/webpack/package.json b/packages/plugin/webpack/package.json index d0dbe6c87..2a2644c25 100644 --- a/packages/plugin/webpack/package.json +++ b/packages/plugin/webpack/package.json @@ -21,7 +21,7 @@ "xvfb-maybe": "^0.2.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/publisher/base/package.json b/packages/publisher/base/package.json index b586c4466..cfb5934c6 100644 --- a/packages/publisher/base/package.json +++ b/packages/publisher/base/package.json @@ -19,6 +19,6 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" } } diff --git a/packages/publisher/bitbucket/package.json b/packages/publisher/bitbucket/package.json index 103654f5c..8330d136e 100644 --- a/packages/publisher/bitbucket/package.json +++ b/packages/publisher/bitbucket/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/publisher/electron-release-server/package.json b/packages/publisher/electron-release-server/package.json index 70cd0bf7b..bbffc44c7 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": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/publisher/github/package.json b/packages/publisher/github/package.json index 534bbcad5..c70bbb055 100644 --- a/packages/publisher/github/package.json +++ b/packages/publisher/github/package.json @@ -18,7 +18,7 @@ "sinon": "^13.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/publisher/nucleus/package.json b/packages/publisher/nucleus/package.json index 7859578e1..b2cf366dd 100644 --- a/packages/publisher/nucleus/package.json +++ b/packages/publisher/nucleus/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/publisher/s3/package.json b/packages/publisher/s3/package.json index 9b5366053..75ac20a9b 100644 --- a/packages/publisher/s3/package.json +++ b/packages/publisher/s3/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@aws-sdk/abort-controller": "^3.29.0", diff --git a/packages/publisher/snapcraft/package.json b/packages/publisher/snapcraft/package.json index 7b279461e..0935dd939 100644 --- a/packages/publisher/snapcraft/package.json +++ b/packages/publisher/snapcraft/package.json @@ -12,7 +12,7 @@ "mocha": "^9.0.1" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/template/base/package.json b/packages/template/base/package.json index 817ab585d..89cce37f7 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": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/template/typescript-webpack/package.json b/packages/template/typescript-webpack/package.json index 11131a2de..8ef6c4386 100644 --- a/packages/template/typescript-webpack/package.json +++ b/packages/template/typescript-webpack/package.json @@ -11,7 +11,7 @@ "test": "mocha --config ../../../.mocharc.js test/**/*_spec.ts" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/template/typescript/package.json b/packages/template/typescript/package.json index 38292ef9c..b35d30f7d 100644 --- a/packages/template/typescript/package.json +++ b/packages/template/typescript/package.json @@ -11,7 +11,7 @@ "test": "mocha --config ../../../.mocharc.js test/**/*_spec.ts" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/template/webpack/package.json b/packages/template/webpack/package.json index ad714f94a..9feac5ab6 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": ">= 12.13.0" + "node": ">= 14.17.5" }, "dependencies": { "@electron-forge/async-ora": "6.0.0-beta.64", diff --git a/packages/utils/async-ora/package.json b/packages/utils/async-ora/package.json index 8510a9363..6cca7d1cf 100644 --- a/packages/utils/async-ora/package.json +++ b/packages/utils/async-ora/package.json @@ -24,6 +24,6 @@ "pretty-ms": "^7.0.0" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" } } diff --git a/packages/utils/test-utils/package.json b/packages/utils/test-utils/package.json index da61e303b..a2ff590c6 100644 --- a/packages/utils/test-utils/package.json +++ b/packages/utils/test-utils/package.json @@ -13,6 +13,6 @@ "fs-extra": "^10.0.0" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" } } diff --git a/packages/utils/types/package.json b/packages/utils/types/package.json index 472da9fb0..d2ceca3bf 100644 --- a/packages/utils/types/package.json +++ b/packages/utils/types/package.json @@ -14,6 +14,6 @@ "ora": "^5.0.0" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" } } diff --git a/packages/utils/web-multi-logger/package.json b/packages/utils/web-multi-logger/package.json index 4e989bd4f..5a1de4465 100644 --- a/packages/utils/web-multi-logger/package.json +++ b/packages/utils/web-multi-logger/package.json @@ -16,6 +16,6 @@ "xterm-addon-search": "^0.8.0" }, "engines": { - "node": ">= 12.13.0" + "node": ">= 14.17.5" } }