mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
⬆️ apm@2.2.2-1 to remove bundled node.exe
This commit is contained in:
@@ -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())
|
||||
)
|
||||
}
|
||||
|
||||
@@ -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'],
|
||||
|
||||
4
script/package-lock.json
generated
4
script/package-lock.json
generated
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user