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

feat!: upgrade Node.js to 14 LTS #2921

Merged
merged 1 commit into from
Jul 21, 2022
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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"license": "MIT",
"engines": {
"node": ">= 12.13.0"
"node": ">= 14.17.5"
},
"bolt": {
"workspaces": [
Expand Down Expand Up @@ -171,6 +171,6 @@
"singleQuote": true
},
"volta": {
"node": "12.22.4"
"node": "14.17.5"
}
}
2 changes: 1 addition & 1 deletion packages/api/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"semver": "^7.2.1"
},
"engines": {
"node": ">= 12.13.0"
"node": ">= 14.17.5"
},
"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 @@ -75,7 +75,7 @@
"yarn-or-npm": "^3.0.1"
},
"engines": {
"node": ">= 12.13.0"
"node": ">= 14.17.5"
},
"funding": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64"
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/darwin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/deb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/dmg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/exe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/linux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/rpm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/installer/zip/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.64",
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 @@ -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",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.64",
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 @@ -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",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.64",
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 @@ -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",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.64",
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 @@ -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",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/plugin-base": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/shared-types": "6.0.0-beta.64"
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/compile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@doyensec/electronegativity": "^1.9.1",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/plugin-base": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64",
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,6 +19,6 @@
"mocha": "^9.0.1"
},
"engines": {
"node": ">= 12.13.0"
"node": ">= 14.17.5"
}
}
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/typescript-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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64",
Expand Down
2 changes: 1 addition & 1 deletion packages/template/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.ts"
},
"engines": {
"node": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64",
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": ">= 12.13.0"
"node": ">= 14.17.5"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.64",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/async-ora/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"pretty-ms": "^7.0.0"
},
"engines": {
"node": ">= 12.13.0"
"node": ">= 14.17.5"
}
}
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,6 +13,6 @@
"fs-extra": "^10.0.0"
},
"engines": {
"node": ">= 12.13.0"
"node": ">= 14.17.5"
}
}
Loading