Home
last modified time | relevance | path

Searched refs:toUnixPath (Results 1 – 21 of 21) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/
Dark_utils.ts51 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 …]
Dprocess_module_files.ts28 toUnixPath,
61 …let relativeSourceFilePath = toUnixPath(node.fileName).replace(toUnixPath(projectConfig.projectRoo…
110 …sourceMapJson['sources'] = [toUnixPath(fileName).replace(toUnixPath(projectConfig.projectRootPath)…
Dgen_merged_abc.ts40 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`;
Ddo_arkTS_linter.ts21 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)));
Dgen_abc_plugin.ts26 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 …]
Dgen_module_abc.ts27 toUnixPath
42 …`${info.tempFilePath};${info.recordName};${moduleType};${toUnixPath(info.sourceFile)};${info.packa…
Dutils.ts294 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 …]
Dgen_aot.ts32 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…
Dets_checker.ts95 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/
Dmodule_mode.ts71 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 …]
Dmodule_source_file.ts38 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), '').
368toUnixPath(this.moduleId.replace(ModuleSourceFile.projectConfig.projectRootPath + path.sep, ''));
Dmodule_hotreload_mode.ts31 toUnixPath,
127 const sourceMapPath: string = toUnixPath(path.join(relativeProjectPath, file));
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/
Dutils.ts38 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…
Dcheck_import_module.ts18 import { toUnixPath } from '../../utils';
31 const unixId: string = toUnixPath(id);
Dtransform.ts31 import { toUnixPath } from '../../utils';
80 …const relativeSourceFilePath = toUnixPath(sourceFilePath.replace(projectConfig.projectRootPath + p…
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/
Dbundle_mode.ts50 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/
Dmodule_hotreload_mode.test.ts30 import { toUnixPath } from '../../../lib/utils';
68toUnixPath(filePath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, ''));
Dmodule_mode.test.ts21 import { toUnixPath } from '../../../lib/utils';
731toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), '');
749toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), '');
767toUnixPath(filePath).replace(toUnixPath(this.rollup.share.projectConfig.projectRootPath), '');
783toUnixPath(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/
DgenAbc-plugin.js200 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/
Dark_utils.test.ts55 toUnixPath
312toUnixPath(moduleSource.moduleId).replace(toUnixPath(moduleSource.projectConfig.projectRootPath) +…
Dutils.test.ts56 toUnixPath
280toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')…
305toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')…
330toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')…
370toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')…
395toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')…
420toUnixPath(dynamicImportpath.replace(this.rollup.share.projectConfig.projectTopDir + path.sep, '')…