Home
last modified time | relevance | path

Searched refs:combinePaths (Results 1 – 25 of 52) sorted by relevance

123

/third_party/typescript/src/testRunner/unittests/config/
DconfigurationExtension.ts265 combinePaths(basePath, "main.ts"),
266 combinePaths(basePath, "supplemental.ts"),
274 combinePaths(basePath, "main.ts"),
275 combinePaths(basePath, "supplemental.ts"),
281 … resolving configuration: ${[combinePaths(basePath, "circular.json"), combinePaths(basePath, "circ…
306 combinePaths(basePath, "supplemental.ts")
315 combinePaths(basePath, "main.ts")
324 combinePaths(basePath, "tests/utils.ts")
328 …p via tsconfig field", "tsconfig.extendsBox.json", { strict: true }, [combinePaths(basePath, "main…
329 …age-relative path", "tsconfig.extendsStrict.json", { strict: true }, [combinePaths(basePath, "main…
[all …]
DshowConfig.ts9 const configPath = combinePaths(cwd, "tsconfig.json");
/third_party/typescript/src/harness/
DloggedIO.ts134 file.contents = host.readFile(ts.combinePaths(baseName, file.contentsPath));
140 file.contents = host.readFile(ts.combinePaths(baseName, file.contentsPath));
149 …result.contents = (result.bom || "") + host.readFile(ts.combinePaths(baseName, result.contentsPath…
169 … file.contentsPath = ts.combinePaths("appended", sanitizeTestFilePath(file.path));
170 writeFile(ts.combinePaths(baseTestName, file.contentsPath), file.contents);
178 file.contentsPath = ts.combinePaths("written", sanitizeTestFilePath(file.path));
179 writeFile(ts.combinePaths(baseTestName, file.contentsPath), file.contents);
189 result.contentsPath = ts.combinePaths("read", sanitizeTestFilePath(file.path));
190 writeFile(ts.combinePaths(baseTestName, result.contentsPath), contents);
249 while (underlying.fileExists(ts.combinePaths(getBase(), "test.json"))) i++;
[all …]
DvpathUtil.ts10 export import combine = ts.combinePaths;
/third_party/typescript/src/server/
DpackageJsonCache.ts25 return packageJsons.get(combinePaths(directory, "package.json")) || undefined;
33 const packageJsonFileName = host.toPath(combinePaths(ancestor, "package.json"));
51 return packageJsons.has(combinePaths(directory, "package.json")) ? Ternary.True :
Dproject.ts240 … const resolvedPath = normalizeSlashes(host.resolvePath(combinePaths(initialDir, "node_modules")));
474 return combinePaths(nodeModuleBinDir, getDefaultLibFileName(this.compilerOptions));
1599 combinePaths(this.projectService.getExecutingFilePath(), "../../.."), constant
1708 …const packageJsons = this.getPackageJsonsVisibleToFile(combinePaths(this.currentDirectory, inferre…
1939 … const rootFileName = combinePaths(hostProject.currentDirectory, inferredTypesContainingFile);
1940 …const packageJsons = hostProject.getPackageJsonsForAutoImport(combinePaths(hostProject.currentDire…
2279 …const searchPaths = [combinePaths(this.projectService.getExecutingFilePath(), "../../.."), ...this…
/third_party/typescript/src/compiler/
DmoduleNameResolver.ts153 const path = normalizePath(combinePaths(baseDirectory, fileName));
265 const modulesAtTypes = combinePaths(getModuleByPMType(packageManagerType), "@types");
268 return [combinePaths(currentDirectory, modulesAtTypes)];
274 const atTypes = combinePaths(directory, modulesAtTypes);
351 const candidate = combinePaths(typeRoot, typeReferenceDirectiveName);
384 …const { path: candidate } = normalizePathAndParts(combinePaths(initialLocationForSecondaryLookup, …
426 …const packageJsonPath = combinePaths(root, normalized, getPackageJsonByPMType(options.packageManag…
829 const candidate = normalizePath(combinePaths(containingDirectory, moduleName));
878 const candidate = combinePaths(normalizePath(rootDir), suffix);
903 const candidate = normalizePath(combinePaths(baseUrl, moduleName));
[all …]
Dpath.ts428 path = combinePaths(currentDirectory, path);
501 export function combinePaths(path: string, ...paths: (string | undefined)[]): string { function
527 return normalizePath(some(paths) ? combinePaths(path, ...paths) : normalizeSlashes(path));
720 a = combinePaths(currentDirectory, a);
721 b = combinePaths(currentDirectory, b);
736 parent = combinePaths(currentDirectory, parent);
737 child = combinePaths(currentDirectory, child);
Dtracing.ts50 legendPath = combinePaths(traceDir, "legend.json");
62 const tracePath = combinePaths(traceDir, `trace${countPart}.json`);
63 const typesPath = combinePaths(traceDir, `types${countPart}.json`);
Dtsbuild.ts150 return combinePaths(project, "tsconfig.json") as ResolvedConfigFileName;
DmoduleSpecifiers.ts267 …return host.fileExists(combinePaths(directory, getPackageJsonByPMType(packageManagerType))) ? true…
526 …const packageJsonPath = combinePaths(packageRootPath, getPackageJsonByPMType(options.packageManage…
542 moduleFileToTry = combinePaths(packageRootPath, fromPaths);
Dsourcemap.ts174 … const relativePath = map.sourceRoot ? combinePaths(map.sourceRoot, rawPath) : rawPath; constant
175 … const combinedPath = combinePaths(getDirectoryPath(sourceMapPath), relativePath);
/third_party/typescript/src/tsserver/
DnodeServer.ts212 const args = [combinePaths(__dirname, "watchGuard.js"), path];
571 …args.push(Arguments.LogFile, combinePaths(getDirectoryPath(normalizeSlashes(this.logger.getLogFile…
600 …this.installer = childProcess.fork(combinePaths(__dirname, "typingsInstaller.js"), args, { execArg…
854 …const typesMapLocation = findArgument(Arguments.TypesMapLocation) || combinePaths(getDirectoryPath…
885 …return combinePaths(combinePaths(normalizeSlashes(basePath), "Microsoft/TypeScript"), versionMajor…
894 … return combinePaths(combinePaths(cacheLocation, "typescript"), versionMajorMinor);
913 return combinePaths(normalizeSlashes(homePath), cacheFolder);
/third_party/typescript/src/testRunner/unittests/tsserver/
DcachingFileSystemInformation.ts192 combinePaths(ancestor, `${module}.ts`),
193 combinePaths(ancestor, `${module}.tsx`),
194 combinePaths(ancestor, `${module}.d.ts`),
195 combinePaths(ancestor, `${module}.ets`)
200 combinePaths(ancestor, `${module}.js`),
201 combinePaths(ancestor, `${module}.jsx`)
213 result.set(combinePaths(ancestor, nodeModules), 1);
214 result.set(combinePaths(ancestor, nodeModulesAtTypes), 1);
Dprojects.ts753 …eateServerHost([file1, file2, config1, libFile], { executingFilePath: combinePaths(getDirectoryPat…
775 …eateServerHost([file1, file2, config2, libFile], { executingFilePath: combinePaths(getDirectoryPat…
794 …eateServerHost([file1, file2, config3, libFile], { executingFilePath: combinePaths(getDirectoryPat…
813 …eateServerHost([file1, file2, config4, libFile], { executingFilePath: combinePaths(getDirectoryPat…
832 …eateServerHost([file1, file2, config5, libFile], { executingFilePath: combinePaths(getDirectoryPat…
/third_party/typescript/src/jsTyping/
DjsTyping.ts140 const packageJsonPath = combinePaths(searchDir, "package.json");
143 const bowerJsonPath = combinePaths(searchDir, "bower.json");
146 const bowerComponentsPath = combinePaths(searchDir, "bower_components");
149 const nodeModulesPath = combinePaths(searchDir, "node_modules");
/third_party/typescript/src/services/
DstringCompletions.ts354 …ry => normalizePath(isRootedDiskPath(rootDirectory) ? rootDirectory : combinePaths(basePath, rootD…
362 …[...rootDirs.map(rootDirectory => combinePaths(rootDirectory, relativeDirectory)), scriptDirectory…
493 const absolute = normalizePath(combinePaths(projectDir, baseUrl));
521 …const modules = combinePaths(ancestor, getModuleByPMType(host.getCompilationSettings().packageMana…
574 …const expandedPrefixDirectory = fragmentHasPath ? combinePaths(normalizedPrefixDirectory, normaliz… constant
578 const baseDirectory = normalizePath(combinePaths(baseUrl, expandedPrefixDirectory));
591 …const directories = mapDefined(tryGetDirectories(host, baseDirectory).map(d => combinePaths(baseDi…
659 …const typesDir = combinePaths(getDirectoryPath(packageJson), isOhpm(options.packageManagerType) ? …
679 const baseDirectory = combinePaths(directory, typeDirectoryName);
/third_party/typescript/src/testRunner/unittests/
Dpaths.ts233 assert.strictEqual(ts.combinePaths("/", "/node_modules/@types"), "/node_modules/@types");
234 assert.strictEqual(ts.combinePaths("/a/..", ""), "/a/..");
235 assert.strictEqual(ts.combinePaths("/a/..", "b"), "/a/../b");
236 assert.strictEqual(ts.combinePaths("/a/..", "b/"), "/a/../b/");
237 assert.strictEqual(ts.combinePaths("/a/..", "/"), "/");
238 assert.strictEqual(ts.combinePaths("/a/..", "/b"), "/b");
DmoduleResolution.ts106 …dLookupLocations.push(normalizePath(getRootLength(moduleName) === 0 ? combinePaths(dir, moduleName…
482 const path = normalizePath(combinePaths(currentDirectory, fileName));
494 const path = normalizePath(combinePaths(currentDirectory, fileName));
577 … const path = getCanonicalFileName(normalizePath(combinePaths(currentDirectory, fileName)));
589 … const path = getCanonicalFileName(normalizePath(combinePaths(currentDirectory, fileName)));
/third_party/typescript/src/typingsInstallerCore/
DtypingsInstaller.ts22 …const result = resolveModuleName(packageName, combinePaths(cachePath, "index.d.ts"), { moduleResol…
118 this.globalCachePackageJsonPath = combinePaths(globalCachePath, "package.json");
220 const packageJson = combinePaths(cacheLocation, "package.json");
221 const packageLockJson = combinePaths(cacheLocation, "package-lock.json");
305 const npmConfigPath = combinePaths(directory, "package.json");
/third_party/typescript/src/typingsInstaller/
DnodeTypingsInstaller.ts70 …return combinePaths(normalizeSlashes(globalTypingsCacheLocation), `node_modules/${typesRegistryPac…
222 if (host.fileExists(combinePaths(directory, "package.json"))) {
/third_party/typescript/src/testRunner/
DcompilerRunner.ts199 …ateHarnessTestFile(testCaseContent.tsConfigFileUnitData!, rootDir, ts.combinePaths(rootDir, tsConf…
231 … tsConfigOptions.configFilePath = ts.combinePaths(rootDir, tsConfigOptions.configFilePath);
DprojectsRunner.ts137 … configFileName = ts.normalizePath(ts.combinePaths(this.compilerOptions.project, "tsconfig.json"));
360 …emitOutputFilePathWithoutExtension = ts.removeFileExtension(ts.combinePaths(compilerOptions.outDir…
/third_party/typescript/src/executeCommandLine/
DexecuteCommandLine.ts253 configFileName = combinePaths(fileOrDirectory, "tsconfig.json");
340 …sys.write(JSON.stringify(convertToTSConfig(commandLine, combinePaths(currentDirectory, "tsconfig.j…
788 const file = normalizePath(combinePaths(currentDirectory, "tsconfig.json"));
/third_party/typescript/src/services/refactors/
DmoveToNewFile.ts69 …changes.createNewFile(oldFile, combinePaths(currentDirectory, newFileNameWithExtension), getNewSta…
120 …const newFileAbsolutePath = normalizePath(combinePaths(oldFileName, "..", newFileNameWithExtension…
198 …const newModuleSpecifier = combinePaths(getDirectoryPath(moduleSpecifierFromImport(importNode).tex…
471 const name = combinePaths(inDirectory, newModuleName + extension);

123