Skip to content
Permalink
Browse files

feat: Node 8 support (#875)

BREAKING CHANGE: drops support for Node < 8.
  • Loading branch information
malept committed May 23, 2019
1 parent ef27272 commit db89c4efdc4b2963bc60d0914b94620f9961c22c
Showing with 95 additions and 90 deletions.
  1. +1 −2 .appveyor.yml
  2. +1 −1 .travis.yml
  3. +1 −1 ci/script.sh
  4. +5 −7 package.json
  5. +1 −1 packages/api/cli/package.json
  6. +5 −5 packages/api/core/package.json
  7. +1 −1 packages/installer/base/package.json
  8. +1 −1 packages/installer/darwin/package.json
  9. +1 −1 packages/installer/deb/package.json
  10. +1 −1 packages/installer/dmg/package.json
  11. +3 −3 packages/installer/exe/package.json
  12. +2 −2 packages/installer/exe/src/InstallerExe.ts
  13. +1 −1 packages/installer/linux/package.json
  14. +1 −1 packages/installer/rpm/package.json
  15. +1 −1 packages/installer/zip/package.json
  16. +1 −1 packages/maker/appx/package.json
  17. +1 −1 packages/maker/base/package.json
  18. +1 −1 packages/maker/deb/package.json
  19. +1 −1 packages/maker/dmg/package.json
  20. +1 −1 packages/maker/flatpak/package.json
  21. +1 −1 packages/maker/pkg/package.json
  22. +1 −1 packages/maker/rpm/package.json
  23. +1 −1 packages/maker/snap/package.json
  24. +1 −1 packages/maker/squirrel/package.json
  25. +1 −1 packages/maker/wix/package.json
  26. +1 −1 packages/maker/zip/package.json
  27. +1 −1 packages/plugin/auto-unpack-natives/package.json
  28. +1 −1 packages/plugin/base/package.json
  29. +1 −1 packages/plugin/compile/package.json
  30. +1 −1 packages/plugin/local-electron/package.json
  31. +1 −1 packages/plugin/webpack/package.json
  32. +1 −1 packages/publisher/base/package.json
  33. +1 −1 packages/publisher/bitbucket/package.json
  34. +1 −1 packages/publisher/electron-release-server/package.json
  35. +1 −1 packages/publisher/github/package.json
  36. +1 −1 packages/publisher/nucleus/package.json
  37. +1 −1 packages/publisher/s3/package.json
  38. +1 −1 packages/publisher/snapcraft/package.json
  39. +3 −3 packages/utils/async-ora/package.json
  40. +1 −1 packages/utils/types/package.json
  41. +1 −1 packages/utils/web-multi-logger/package.json
  42. +41 −33 yarn.lock
@@ -1,7 +1,7 @@
platform:
- x64
environment:
nodejs_version: "6"
nodejs_version: "8"
matrix:
- node_installer: yarn
cache:
@@ -10,7 +10,6 @@ cache:
branches:
only:
- master
- v6

install:
- ps: Install-Product node $env:nodejs_version $env:platform
@@ -1,5 +1,5 @@
language: node_js
node_js: '6'
node_js: '8'
dist: xenial
osx_image: xcode8.3
cache: npm
@@ -1,7 +1,7 @@
#!/bin/bash -e

if [[ "$TRAVIS_OS_NAME" = "linux" ]]; then
sudo docker run --privileged --interactive --tty --volume $(pwd):/code malept/electron-forge-container:latest /code/ci/docker.sh $NODE_INSTALLER
sudo docker run --privileged --interactive --tty --volume $(pwd):/code malept/electron-forge-container:node-8 /code/ci/docker.sh $NODE_INSTALLER
else
bolt
yarn build
@@ -60,22 +60,22 @@
"inquirer": "^6.3.1",
"lodash.merge": "^4.6.0",
"lodash.template": "^4.4.0",
"log-symbols": "^2.0.0",
"log-symbols": "^3.0.0",
"mime-types": "^2.1.24",
"node-fetch": "^2.6.0",
"node-gyp": "^4.0.0",
"nugget": "^2.0.1",
"opn": "^5.0.0",
"open": "^6.0.0",
"ora": "^3.0.0",
"parse-author": "^2.0.0",
"pify": "^4.0.0",
"pretty-ms": "^4.0.0",
"pretty-ms": "^5.0.0",
"resolve-package": "^1.0.1",
"s3": "^4.4.0",
"semver": "^6.1.0",
"source-map-support": "^0.5.12",
"sudo-prompt": "^8.0.0",
"username": "^4.0.0",
"username": "^5.0.0",
"webpack": "^4.32.2",
"webpack-dev-middleware": "^3.7.0",
"webpack-hot-middleware": "^2.25.0",
@@ -108,13 +108,11 @@
"@types/listr": "^0.14.0",
"@types/lodash.merge": "^4.6.4",
"@types/lodash.template": "^4.4.4",
"@types/log-symbols": "^2.0.0",
"@types/mime-types": "^2.1.0",
"@types/minimist": "^1.2.0",
"@types/mocha": "^5.1.0",
"@types/node": "^12.0.2",
"@types/node-fetch": "^2.3.4",
"@types/opn": "^5.1.0",
"@types/pify": "^3.0.1",
"@types/pretty-ms": "^4.0.0",
"@types/proxyquire": "^1.3.28",
@@ -127,7 +125,7 @@
"@types/webpack-merge": "^4.1.5",
"@typescript-eslint/eslint-plugin": "^1.9.0",
"@typescript-eslint/parser": "^1.9.0",
"asar": "^1.0.0",
"asar": "^2.0.1",
"babel-plugin-source-map-support": "^2.0.1",
"chai": "4.2.0",
"chai-as-promised": "^7.0.0",
@@ -26,6 +26,6 @@
"semver": "^6.1.0"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
}
}
@@ -17,7 +17,7 @@
"@electron-forge/maker-squirrel": "6.0.0-beta.34",
"@electron-forge/maker-wix": "6.0.0-beta.34",
"@electron-forge/maker-zip": "6.0.0-beta.34",
"asar": "^1.0.0",
"asar": "^2.0.1",
"chai": "4.2.0",
"chai-as-promised": "^7.0.0",
"fetch-mock": "^7.3.3",
@@ -47,18 +47,18 @@
"glob": "^7.1.4",
"lodash.merge": "^4.6.0",
"lodash.template": "^4.4.0",
"log-symbols": "^2.0.0",
"log-symbols": "^3.0.0",
"node-fetch": "^2.6.0",
"nugget": "^2.0.1",
"pify": "^4.0.0",
"resolve-package": "^1.0.1",
"semver": "^6.1.0",
"source-map-support": "^0.5.12",
"sudo-prompt": "^8.0.0",
"username": "^4.0.0",
"username": "^5.0.0",
"yarn-or-npm": "^2.0.2"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
}
}
}
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.34"
@@ -11,7 +11,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.34",
@@ -11,7 +11,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/installer-linux": "6.0.0-beta.34"
@@ -11,7 +11,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/installer-darwin": "6.0.0-beta.34",
@@ -11,10 +11,10 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/installer-base": "6.0.0-beta.34",
"opn": "^5.0.0"
"open": "^6.0.0"
}
}
}
@@ -1,13 +1,13 @@
import InstallerBase, { InstallerOptions } from '@electron-forge/installer-base';

import opn from 'opn';
import open from 'open';

export default class InstallerExe extends InstallerBase {
name = 'exe';

async install({
filePath,
}: InstallerOptions) {
await opn(filePath, { wait: false });
await open(filePath, { wait: false });
}
}
@@ -11,7 +11,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/installer-base": "6.0.0-beta.34",
@@ -11,7 +11,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/installer-linux": "6.0.0-beta.34"
@@ -11,7 +11,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/installer-darwin": "6.0.0-beta.34",
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.34",
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/shared-types": "6.0.0-beta.34",
@@ -15,7 +15,7 @@
"sinon": "^7.3.2"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.34",
@@ -15,7 +15,7 @@
"sinon": "^7.3.2"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.34",
@@ -15,7 +15,7 @@
"sinon": "^7.3.2"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.34",
@@ -15,7 +15,7 @@
"sinon": "^7.3.2"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.34",
@@ -15,7 +15,7 @@
"sinon": "^7.3.2"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.34",
@@ -15,7 +15,7 @@
"sinon": "^7.3.2"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.34",
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.34",
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.34",
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/maker-base": "6.0.0-beta.34",
@@ -8,7 +8,7 @@
"main": "dist/AutoUnpackNativesPlugin.js",
"typings": "dist/AutoUnpackNativesPlugin.d.ts",
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/plugin-base": "6.0.0-beta.34",
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/shared-types": "6.0.0-beta.34"
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.34",
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/plugin-base": "6.0.0-beta.34",
@@ -15,7 +15,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.34",
@@ -13,6 +13,6 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
}
}
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.34",
@@ -12,7 +12,7 @@
"mocha": "^6.1.4"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.34",
@@ -14,7 +14,7 @@
"sinon": "^7.3.2"
},
"engines": {
"node": ">= 6.0"
"node": ">= 8.0"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0-beta.34",

0 comments on commit db89c4e

Please sign in to comment.
You can’t perform that action at this time.