From ac836a27e452344ffcd0c8e444bf444c0a9081b0 Mon Sep 17 00:00:00 2001 From: Keeley Hammond Date: Wed, 20 Jul 2022 15:25:48 -0700 Subject: [PATCH] build: upgrade node to 14 LTS --- .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 d351c47cb1..922a169b22 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 19c27d35c5..b674e9121f 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 9e9b2b6119..fc07eecc75 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 c87de73fd3..d563af3f76 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 434de92e88..8bba0b55b4 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 65195e8489..5dcebdc226 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 d87c38a9ca..573bbaadf8 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 38fcaf6a89..10ac02ee1c 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 916eef8bb1..8be1d600b2 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 40da6d5d70..905d9f0aec 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 ff400cb689..9c6c65c416 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 83ac3a3efe..4af4278e6e 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 997f9efa72..8285df685b 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 240beb9849..6fab690c74 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 a730a585e5..041cc67cce 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 7338a023a0..8da973d886 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 5e9ed80a2b..275139c594 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 82a9d8fabd..a7a4da946a 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 bd62204b78..366b6254d8 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 890b07b5f0..eab254c3f5 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 87054590dc..015837b6bd 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 8ab080c702..e360b02563 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 1df5003e1e..6350b58ae8 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 c9c84a753d..baf00673b6 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 3112df6a07..6193711f52 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 0da4adffe7..933d132bef 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 a179df4dfe..8fee50e6a4 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 3770df44e9..f6b963931a 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 d0dbe6c87c..2a2644c252 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 b586c4466b..cfb5934c60 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 103654f5c6..8330d136ed 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 70cd0bf7bd..bbffc44c71 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 534bbcad58..c70bbb0554 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 7859578e1e..b2cf366dd3 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 9b53660535..75ac20a9b2 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 7b279461ee..0935dd939c 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 817ab585d1..89cce37f75 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 11131a2dec..8ef6c43861 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 38292ef9ce..b35d30f7db 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 ad714f94a5..9feac5ab66 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 8510a93634..6cca7d1cfb 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 da61e303b2..a2ff590c60 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 472da9fb02..d2ceca3bfb 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 4e989bd4f6..5a1de44658 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" } }