Searched refs:npmPath (Results 1 – 6 of 6) sorted by relevance
/third_party/typescript/src/typingsInstaller/ |
D | nodeTypingsInstaller.ts | 34 const npmPath = path.join(path.dirname(process.argv[0]), "npm"); constant 36 return npmPath; 38 if (host.fileExists(npmPath)) { 39 return `"${npmPath}"`; 81 private readonly npmPath: string; property in ts.server.typingsInstaller.NodeTypingsInstaller 94 …this.npmPath = npmLocation !== undefined ? npmLocation : getDefaultNPMLocation(process.argv[0], va… 97 if (stringContains(this.npmPath, " ") && this.npmPath[0] !== `"`) { 98 this.npmPath = `"${this.npmPath}"`; 102 …this.log.writeLine(`NPM location: ${this.npmPath} (explicit '${Arguments.NpmLocation}' ${npmLocati… 113 …this.execSyncAndLog(`${this.npmPath} install --ignore-scripts ${typesRegistryPackageName}@${this.l… [all …]
|
/third_party/node/deps/npm/node_modules/libnpx/ |
D | index.js | 129 return findNodeScript(opts.npm, {isLocal: true}).then(npmPath => { 130 if (npmPath) { 136 }).then(npmPath => { 137 return child.exec(npmPath, args) 195 return findNodeScript(opts.npm, {isLocal: true}).then(npmPath => { 196 if (npmPath) { 203 }).then(npmPath => { 204 return child.exec(npmPath, args) 222 return findNodeScript(opts.npm, {isLocal: true}).then(npmPath => { 223 if (npmPath) { [all …]
|
/third_party/node/test/parallel/ |
D | test-npm-install.js | 21 const npmPath = path.join( constant 49 exec(`${process.execPath} ${npmPath} install`, {
|
/third_party/typescript/src/typingsInstallerCore/ |
D | typingsInstaller.ts | 34 …export function installNpmPackages(npmPath: string, tsVersion: string, packageNames: string[], ins… 37 … const result = getNpmCommandForInstallation(npmPath, tsVersion, packageNames, remaining); 45 …export function getNpmCommandForInstallation(npmPath: string, tsVersion: string, packageNames: str… 49 …command = `${npmPath} install --ignore-scripts ${(toSlice === packageNames.length ? packageNames :…
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | typingsInstaller.ts | 1808 const npmPath = "npm", tsVersion = "2.9.0-dev.20180410"; constant 1811 … TI.getNpmCommandForInstallation(npmPath, tsVersion, packageNames, packageNames.length).command, 1812 …TI.getNpmCommandForInstallation(npmPath, tsVersion, packageNames, packageNames.length - Math.ceil(… 1816 const hasError = TI.installNpmPackages(npmPath, tsVersion, packageNames, command => { 1826 const hasError = TI.installNpmPackages(npmPath, tsVersion, packageNames, command => {
|
/third_party/typescript/lib/ |
D | typingsInstaller.js | 115280 function installNpmPackages(npmPath, tsVersion, packageNames, install) { argument 115283 … var result = getNpmCommandForInstallation(npmPath, tsVersion, packageNames, remaining); 115291 function getNpmCommandForInstallation(npmPath, tsVersion, packageNames, remaining) { argument 115295 …command = npmPath + " install --ignore-scripts " + (toSlice === packageNames.length ? packageNames… 115768 var npmPath = path.join(path.dirname(process.argv[0]), "npm"); 115770 return npmPath; 115772 if (host.fileExists(npmPath)) { 115773 return "\"" + npmPath + "\""; 115804 …_this.npmPath = npmLocation !== undefined ? npmLocation : getDefaultNPMLocation(process.argv[0], v… 115805 if (ts.stringContains(_this.npmPath, " ") && _this.npmPath[0] !== "\"") { [all …]
|