Lines Matching refs:tempFilePath
130 tempFilePath: string; property in ModuleInfo
138 constructor(filePath: string, tempFilePath: string, buildFilePath: string,
141 this.tempFilePath = tempFilePath;
367 function processNodeModulesFile(filePath: string, tempFilePath: string, buildFilePath: string,
375 …const tempModuleInfo: ModuleInfo = new ModuleInfo(filePath, tempFilePath, buildFilePath, abcFilePa…
377 nodeModulesFile.push(tempFilePath);
379 …const tempModuleInfo: ModuleInfo = new ModuleInfo(filePath, tempFilePath, buildFilePath, abcFilePa…
381 nodeModulesFile.push(tempFilePath);
383 …const tempModuleInfo: ModuleInfo = new ModuleInfo(filePath, tempFilePath, buildFilePath, abcFilePa…
385 nodeModulesFile.push(tempFilePath);
392 function processEtsModule(filePath: string, tempFilePath: string, buildFilePath: string, nodeModule…
398 tempFilePath = tempFilePath.replace(/\.ets$/, EXTNAME_TS);
401 tempFilePath = tempFilePath.replace(/\.ets$/, EXTNAME_JS);
404 const abcFilePath: string = genAbcFileName(tempFilePath);
406 …processNodeModulesFile(filePath, tempFilePath, buildFilePath, abcFilePath, nodeModulesFile, module…
409 …const tempModuleInfo: ModuleInfo = new ModuleInfo(filePath, tempFilePath, buildFilePath, abcFilePa…
415 function processTsModule(filePath: string, tempFilePath: string, buildFilePath: string, nodeModules…
421 tempFilePath = tempFilePath.replace(/\.ts$/, EXTNAME_JS);
424 const abcFilePath: string = genAbcFileName(tempFilePath);
426 …processNodeModulesFile(filePath, tempFilePath, buildFilePath, abcFilePath, nodeModulesFile, module…
429 …const tempModuleInfo: ModuleInfo = new ModuleInfo(filePath, tempFilePath, buildFilePath, abcFilePa…
435 function processJsModule(filePath: string, tempFilePath: string, buildFilePath: string, nodeModules…
436 const parent: string = path.join(tempFilePath, '..');
441 fs.copyFileSync(filePath, tempFilePath);
443 const abcFilePath: string = genAbcFileName(tempFilePath);
445 …processNodeModulesFile(filePath, tempFilePath, buildFilePath, abcFilePath, nodeModulesFile, module…
448 …const tempModuleInfo: ModuleInfo = new ModuleInfo(filePath, tempFilePath, buildFilePath, abcFilePa…
454 function processJsonModule(filePath: string, tempFilePath: string, buildFilePath: string, nodeModul…
457 …processNodeModulesFile(filePath, tempFilePath, buildFilePath, abcFilePath, nodeModulesFile, module…
460 …const tempModuleInfo: ModuleInfo = new ModuleInfo(filePath, tempFilePath, buildFilePath, abcFilePa…
542 …let tempFilePath = genTemporaryPath(filePath, projectConfig.projectPath, process.env.cachePath, pr…
543 if (tempFilePath.length === 0) {
546 validateFilePathLength(tempFilePath, logger);
550 tempFilePath = toUnixPath(tempFilePath);
555 processEtsModule(filePath, tempFilePath, buildFilePath, nodeModulesFile, module);
559 processTsModule(filePath, tempFilePath, buildFilePath, nodeModulesFile, module);
565 processJsModule(filePath, tempFilePath, buildFilePath, nodeModulesFile, module);
569 processJsonModule(filePath, tempFilePath, buildFilePath, nodeModulesFile, module);
858 return item.tempFilePath !== newItem.tempFilePath;
881 const input: string = moduleInfos[i].tempFilePath;
882 let outputPath: string = genProtoFileName(moduleInfos[i].tempFilePath);
908 const input: string = filterModuleInfos[i].tempFilePath;
909 let outputPath: string = genProtoFileName(filterModuleInfos[i].tempFilePath);;
1098 …let tempFilePath: string = genTemporaryPath(filePath, projectConfig.projectPath, process.env.cache…
1099 if (tempFilePath.length === 0) {
1102 validateFilePathLength(tempFilePath, logger);
1104 tempFilePath = toUnixPath(tempFilePath);
1108 processEtsModule(filePath, tempFilePath, buildFilePath, nodeModulesFile, undefined);
1112 processTsModule(filePath, tempFilePath, buildFilePath, nodeModulesFile, undefined);
1118 processJsModule(filePath, tempFilePath, buildFilePath, nodeModulesFile, undefined);
1171 return m1.tempFilePath < m2.tempFilePath ? 1 : -1;
1174 let protoTempPath: string = genProtoFileName(moduleInfos[i].tempFilePath);