mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
fix: use the script-runner's npm in the bootstrap
This commit is contained in:
parent
f15a9de354
commit
df5eb81540
@ -129,10 +129,12 @@ function getNpmBinPath() {
|
||||
}
|
||||
|
||||
function getLocalNpmBinPath() {
|
||||
// NOTE this assumes that npm is installed as a script-runner dependency
|
||||
const npmBinName = process.platform === 'win32' ? 'npm.cmd' : 'npm';
|
||||
const localNpmBinPath = path.resolve(
|
||||
repositoryRootPath,
|
||||
'script',
|
||||
'script-runner',
|
||||
'node_modules',
|
||||
'.bin',
|
||||
npmBinName
|
||||
|
3102
script/script-runner/package-lock.json
generated
3102
script/script-runner/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -2,6 +2,7 @@
|
||||
"name": "atom-build-scripts-runner",
|
||||
"description": "Atom build scripts runner",
|
||||
"dependencies": {
|
||||
"threads": "^1.6.3"
|
||||
"threads": "^1.6.3",
|
||||
"npm": "^6.14.16"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user