⬆️ apm@2.2.2-1 to remove bundled node.exe

This commit is contained in:
Winston Liu
2019-05-07 21:12:39 -04:00
parent a6eabb2ae4
commit 33be2276a4
5 changed files with 13 additions and 12 deletions

View File

@@ -7,9 +7,9 @@ const CONFIG = require('../config')
module.exports = function (ci) {
console.log('Installing apm')
// npm ci leaves apm with a bunch of unmet dependencies
console.log(childProcess.execFileSync(
childProcess.execFileSync(
CONFIG.getNpmBinPath(),
['--global-style', '--loglevel=silly', 'install'],
['--global-style', '--loglevel=error', 'install'],
{env: process.env, cwd: CONFIG.apmRootPath}
).toString())
)
}

View File

@@ -11,7 +11,6 @@ module.exports = function (packagePath, ci, stdioOptions) {
// Set our target (Electron) version so that node-pre-gyp can download the
// proper binaries.
installEnv.npm_config_target = CONFIG.appMetadata.electronVersion
console.log('Arch before spawning apm is: ' + process.arch)
childProcess.execFileSync(
CONFIG.getApmBinPath(),
[ci ? 'ci' : 'install', '--verbose'],

View File

@@ -684,6 +684,7 @@
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/boom/-/boom-0.4.2.tgz",
"integrity": "sha1-emNune1O/O+xnO9JR6PGffrukRs=",
"optional": true,
"requires": {
"hoek": "0.9.x"
}
@@ -3172,7 +3173,8 @@
"hoek": {
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz",
"integrity": "sha1-PTIkYrrfB3Fup+uFuviAec3c5QU="
"integrity": "sha1-PTIkYrrfB3Fup+uFuviAec3c5QU=",
"optional": true
},
"home-or-tmp": {
"version": "1.0.0",