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:
Kevin Sawicki 2015-03-24 13:12:49 -07:00
parent 37be2e02ec
commit 63e6df8022
2 changed files with 1 additions and 1 deletions

View File

@ -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',