| /developtools/ace_ets2bundle/compiler/src/ |
| D | ark_utils.ts | 51 toUnixPath, 78 let unixFilePath: string = toUnixPath(filePath); 85 const moduleRootPath: string = toUnixPath(projectConfig.modulePathMap[moduleName]); 86 const projectRootPath: string = toUnixPath(projectConfig.projectRootPath); 138 const tryProjectPkg: string = toUnixPath(path.join(projectRootPath, packageDir)); 146 const tryModulePkg: string = toUnixPath(path.resolve(modulePath, packageDir)); 157 const tryProjectPkg: string = toUnixPath(path.join(projectRootPath, packageDir)); 162 const tryModulePkg: string = toUnixPath(path.join(moduleRootPath, packageDir)); 172 const moduleRootPath: string = toUnixPath(projectConfig.modulePathMap[key]); 285 return replaceRelativeDependency(item, moduleRequest, toUnixPath(sourcePath), projectConfig); [all …]
|
| D | process_module_files.ts | 28 toUnixPath, 61 …let relativeSourceFilePath = toUnixPath(node.fileName).replace(toUnixPath(projectConfig.projectRoo… 110 …sourceMapJson['sources'] = [toUnixPath(fileName).replace(toUnixPath(projectConfig.projectRootPath)…
|
| D | gen_merged_abc.ts | 40 toUnixPath, 65 …filesInfo += `${info.tempFilePath};${info.recordName};${moduleType};${toUnixPath(sourceFile)};${in… 76 …value.buildPath.replace(toUnixPath(projectConfig.nodeModulesPath), '').replace(new RegExp(NODE_MOD… 77 const entryFile: string = toUnixPath(path.join(buildPath, value.entry)); 80 `${toUnixPath(path.join(PACKAGES, buildPath))}:${toUnixPath(path.join(PACKAGES, entry))}\n`;
|
| D | do_arkTS_linter.ts | 21 toUnixPath, 132 let filePath: string = toUnixPath(projectConfig.cachePath); 136 filePath = toUnixPath(path.join(filePath, arkTSDir)); 140 filePath = toUnixPath((path.join(filePath, arkTSLinterOutputFileName))); 163 let filePath: string = toUnixPath(projectConfig.cachePath); 167 filePath = toUnixPath(path.join(filePath, arkTSDir)); 171 filePath = toUnixPath((path.join(filePath, arkTSLinterOutputFileName)));
|
| D | gen_abc_plugin.ts | 26 toUnixPath, 309 if (toUnixPath(filePath) === value) { 317 let entry: string = toUnixPath(filePath.replace(npmInfoPath, '')); 327 npmInfoPath = toUnixPath(path.resolve(tempFakeEntryPath, '..')); 328 const buildNpmInfoPath: string = toUnixPath(path.resolve(buildFakeEntryPath, '..')); 343 mainFileds.add(toUnixPath(path.join(packagePath, descriptionFileData.browser))); 347 mainFileds.add(toUnixPath(path.join(packagePath, descriptionFileData.browser[key]))); 353 mainFileds.add(toUnixPath(path.join(packagePath, descriptionFileData.module))); 356 mainFileds.add(toUnixPath(path.join(packagePath, descriptionFileData.main))); 359 mainFileds.add(toUnixPath(path.join(packagePath, 'index.js'))); [all …]
|
| D | gen_module_abc.ts | 27 toUnixPath 42 …`${info.tempFilePath};${info.recordName};${moduleType};${toUnixPath(info.sourceFile)};${info.packa…
|
| D | utils.ts | 294 export function toUnixPath(data: string): string { function 304 return toUnixPath(filePath).toLowerCase(); 324 filePath = toUnixPath(filePath); 325 buildPath = toUnixPath(buildPath); 326 const cacheRootPath: string = toUnixPath(cachePath); 327 const moduleName = toUnixPath(moduleRootPath).replace(toUnixPath(projectRootPath), ''); 335 filePath = toUnixPath(filePath).replace(/\.[cm]js$/, EXTNAME_JS); 336 projectPath = toUnixPath(projectPath); 339 …const projectRootPath: string = toUnixPath(buildInHar ? projectPath : projectConfig.projectRootPat… 347 …const fakePkgModulesPath: string = toUnixPath(path.join(projectConfig.projectRootPath, packageDir)… [all …]
|
| D | gen_aot.ts | 32 toUnixPath, 161 …singleCmd= `${tempAbcArgs.join(' ')} "${toUnixPath(builtinFilePath)}" -q -b -m --merge-abc -o "${b… 163 …singleCmd= `${tempAbcArgs.join(' ')} "${toUnixPath(builtinFilePath)}" --type-dts-builtin --type-ex…
|
| D | ets_checker.ts | 95 toUnixPath, 506 projectRootPath = toUnixPath(projectRootPath); 509 const fileName = toUnixPath(sourceFile.fileName); 525 allSourceFilePaths.add(toUnixPath(moduleId));
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/ |
| D | module_mode.ts | 71 toUnixPath, 231 …const pkgEntryPath: string = toUnixPath(path.join(`${PACKAGES}@${hostModuleName}`, hostDependencyN… 245 let originPkgEntryPath: string = toUnixPath(filePath.replace(pkgPath, '')); 249 const pkgEntryPath: string = toUnixPath(this.getPkgModulesFilePkgName(pkgPath)); 251 pkgBuildPath = toUnixPath(pkgBuildPath.substring(0, pkgBuildPath.lastIndexOf('.'))); 261 const symlinkPkgEntryPath: string = toUnixPath(this.getPkgModulesFilePkgName(symlink)); 320 cacheFilePath = toUnixPath(cacheFilePath); 321 recordName = toUnixPath(recordName); 322 sourceFile = isDebug(this.projectConfig) ? toUnixPath(sourceFile) : 323 cacheFilePath.replace(toUnixPath(this.projectConfig.projectRootPath) + '/', ''); [all …]
|
| D | module_source_file.ts | 38 import { toUnixPath } from '../../../utils'; 123 …let mockFilePath: string = `${toUnixPath(rollupObject.share.projectConfig.modulePath)}/${mockFile}… 139 …let absoluteMockFilePath: string = `${toUnixPath(rollupObject.share.projectConfig.modulePath)}/${m… 140 if (toUnixPath(absoluteMockFilePath) === toUnixPath(file)) { 286 let mockedTarget: string = toUnixPath(filePath). 287 replace(toUnixPath(rollupObject.share.projectConfig.modulePath), ''). 368 … toUnixPath(this.moduleId.replace(ModuleSourceFile.projectConfig.projectRootPath + path.sep, ''));
|
| D | module_hotreload_mode.ts | 31 toUnixPath, 127 const sourceMapPath: string = toUnixPath(path.join(relativeProjectPath, file));
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/ |
| D | utils.ts | 38 toUnixPath 81 let filePath = toUnixPath(changeFileExtension(cacheFilePath, ext)); 88 …const sufStr: string = toUnixPath(filePath).replace(toUnixPath(projectConfig.projectRootPath), ''); 103 cacheFilePath = toUnixPath(changeFileExtension(cacheFilePath, EXTNAME_JS)); 154 …const relativeSourceFilePath: string = toUnixPath(sourceFilePath).replace(toUnixPath(projectConfig…
|
| D | check_import_module.ts | 18 import { toUnixPath } from '../../utils'; 31 const unixId: string = toUnixPath(id);
|
| D | transform.ts | 31 import { toUnixPath } from '../../utils'; 80 …const relativeSourceFilePath = toUnixPath(sourceFilePath.replace(projectConfig.projectRootPath + p…
|
| /developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/ |
| D | bundle_mode.ts | 50 toUnixPath, 253 filePath = toUnixPath(filePath); 254 cacheFilePath = toUnixPath(cacheFilePath); 255 sourceFile = toUnixPath(sourceFile); 401 …let relativeFileName: string = fileName.replace(toUnixPath(this.projectConfig.cachePath) + '/', ''… 404 const relativeCachePath: string = toUnixPath(this.projectConfig.cachePath.replace(
|
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/module/ |
| D | module_hotreload_mode.test.ts | 30 import { toUnixPath } from '../../../lib/utils'; 68 … toUnixPath(filePath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, ''));
|
| D | module_mode.test.ts | 21 import { toUnixPath } from '../../../lib/utils'; 731 … toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), ''); 749 … toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), ''); 767 … toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), ''); 783 … toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), ''); 798 const sufStr = toUnixPath(filePath).replace(toUnixPath(projectConfig.projectRootPath), ''); 809 const sufStr = toUnixPath(filePath).replace(toUnixPath(projectConfig.projectRootPath), '');
|
| /developtools/ace_js2bundle/ace-loader/src/ |
| D | genAbc-plugin.js | 200 sourceFile = toUnixPath(sourceFile.replace(buildJsonInfo.projectRootPath + path.sep, '')); 202 sourceFile = toUnixPath(sourceFile); 204 output = toUnixPath(output); 205 cacheOutputPath = toUnixPath(cacheOutputPath); 361 buildPath = toUnixPath(buildPath); 389 function toUnixPath(data) { function
|
| /developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/common/ |
| D | ark_utils.test.ts | 55 toUnixPath 312 …toUnixPath(moduleSource.moduleId).replace(toUnixPath(moduleSource.projectConfig.projectRootPath) +…
|
| D | utils.test.ts | 56 toUnixPath 280 …toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')… 305 …toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')… 330 …toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')… 370 …toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')… 395 …toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')… 420 …toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')…
|