mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-27 00:25:06 +03:00
Move .npmrc file to build folder
apm commands appear to be picking it up as a config file when bootstrapping from the root of the repo causing cache clashes between build modules and core packages.
This commit is contained in:
parent
37be2e02ec
commit
63e6df8022
@ -35,7 +35,7 @@ function bootstrap() {
|
||||
|
||||
var npmPath = path.resolve(__dirname, '..', 'build', 'node_modules', '.bin', 'npm');
|
||||
var initialNpmCommand = fs.existsSync(npmPath) ? npmPath : 'npm';
|
||||
var npmFlags = ' --userconfig=' + path.resolve('.npmrc') + ' ';
|
||||
var npmFlags = ' --userconfig=' + path.resolve(__dirname, '..', 'build', '.npmrc') + ' ';
|
||||
|
||||
var packagesToDedupe = [
|
||||
'abbrev',
|
||||
|
Loading…
Reference in New Issue
Block a user