/third_party/typescript/src/testRunner/unittests/tsbuildWatch/ |
D | moduleResolution.ts | 8 … { path: `${projectRoot}/project1/index.ts`, content: `import { foo } from "file";` }, 9 …{ path: `${projectRoot}/project1/node_modules/file/index.d.ts`, content: "export const foo = 10;" … 11 path: `${projectRoot}/project1/tsconfig.json`, 17 … { path: `${projectRoot}/project2/index.ts`, content: `import { foo } from "file";` }, 18 … { path: `${projectRoot}/project2/file.d.ts`, content: "export const foo = 10;" }, 20 path: `${projectRoot}/project2/tsconfig.json`, 26 … { path: `${projectRoot}/node_modules/@types/foo/index.d.ts`, content: "export const foo = 10;" }, 27 … { path: `${projectRoot}/node_modules/@types/bar/index.d.ts`, content: "export const bar = 10;" }, 29 path: `${projectRoot}/tsconfig.json`, 40 { currentDirectory: projectRoot } [all …]
|
D | projectsBuilding.ts | 16 path: `${projectRoot}/pkg${index}/index.ts`, 20 path: `${projectRoot}/pkg${index}/tsconfig.json`, 32 path: `${projectRoot}/tsconfig.json`, 52 { currentDirectory: projectRoot } 57 … change: sys => sys.appendFile(`${projectRoot}/pkg0/index.ts`, `const someConst2 = 10;`), 63 … change: sys => sys.appendFile(`${projectRoot}/pkg0/index.ts`, `export const someConst = 10;`), 76 { currentDirectory: projectRoot } 81 … change: sys => sys.appendFile(`${projectRoot}/pkg0/index.ts`, `const someConst2 = 10;`), 87 … change: sys => sys.appendFile(`${projectRoot}/pkg0/index.ts`, `export const someConst = 10;`), 100 { currentDirectory: projectRoot } [all …]
|
D | configFileErrors.ts | 12 { path: `${projectRoot}/a.ts`, content: "export function foo() { }" }, 13 { path: `${projectRoot}/b.ts`, content: "export function bar() { }" }, 15 path: `${projectRoot}/tsconfig.json`, 29 { currentDirectory: projectRoot } 35 change: sys => replaceFileText(sys, `${projectRoot}/tsconfig.json`, ",", `, 41 change: sys => replaceFileText(sys, `${projectRoot}/a.ts`, "foo", "fooBar"), 46 change: sys => replaceFileText(sys, `${projectRoot}/tsconfig.json`, "", ""), 51 change: sys => sys.writeFile(`${projectRoot}/tsconfig.json`, JSON.stringify({
|
D | noEmit.ts | 10 { path: `${projectRoot}/a.js`, content: "" }, 11 { path: `${projectRoot}/b.ts`, content: "" }, 12 …{ path: `${projectRoot}/tsconfig.json`, content: JSON.stringify({ compilerOptions: { allowJs: true… 14 { currentDirectory: projectRoot } 19 … change: sys => sys.writeFile(`${projectRoot}/a.js`, sys.readFile(`${projectRoot}/a.js`)!), 25 change: sys => sys.writeFile(`${projectRoot}/a.js`, "const x = 10;"),
|
D | publicApi.ts | 4 path: `${projectRoot}/tsconfig.json`, 14 path: `${projectRoot}/shared/tsconfig.json`, 20 path: `${projectRoot}/shared/index.ts`, 28 path: `${projectRoot}/webpack/tsconfig.json`, 35 path: `${projectRoot}/webpack/index.ts`, 43 …tion, sharedConfig, sharedIndex, webpackConfig, webpackIndex], { currentDirectory: projectRoot }));
|
/third_party/typescript/src/testRunner/unittests/tscWatch/ |
D | forceConsistentCasingInFileNames.ts | 4 path: `${projectRoot}/logger.ts`, 8 path: `${projectRoot}/another.ts`, 12 path: `${projectRoot}/tsconfig.json`, 44 change: sys => sys.renameFile(loggerFile.path, `${projectRoot}/Logger.ts`), 56 path: `${projectRoot}/moduleA.ts`, 60 path: `${projectRoot}/moduleB.ts`, 64 path: `${projectRoot}/moduleC.ts`, 68 path: `${projectRoot}/tsconfig.json`, 71 …teWatchedSystem([moduleA, moduleB, moduleC, libFile, tsconfig], { currentDirectory: projectRoot }); 76 change: sys => sys.prependFile(`${projectRoot}/moduleA.ts`, `// some comment [all …]
|
D | moduleResolution.ts | 8 path: `${projectRoot}/packages/pkg1/package.json`, 16 path: `${projectRoot}/packages/pkg1/index.ts`, 22 path: `${projectRoot}/packages/pkg1/tsconfig.json`, 30 path: `${projectRoot}/packages/pkg2/build/const.d.ts`, 34 path: `${projectRoot}/packages/pkg2/build/index.d.ts`, 38 path: `${projectRoot}/packages/pkg2/build/other.d.ts`, 42 path: `${projectRoot}/packages/pkg2/package.json`, 50 path: `${projectRoot}/node_modules/pkg2`, 51 symLink: `${projectRoot}/packages/pkg2`, 54 ], { currentDirectory: projectRoot }), [all …]
|
D | watchEnvironment.ts | 223 commandLineArgs: ["--w", "-p", `${projectRoot}/tsconfig.json`], 226 path: `${projectRoot}/tsconfig.json`, 230 path: `${projectRoot}/src/file1.ts`, 234 path: `${projectRoot}/node_modules/file2/index.d.ts`, 252 … change: sys => sys.deleteFolder(`${projectRoot}/node_modules`, /*recursive*/ true), 271 change: sys => sys.createDirectory(`${projectRoot}/node_modules`), 276 change: sys => sys.createDirectory(`${projectRoot}/node_modules/file2`), 281 …change: sys => sys.writeFile(`${projectRoot}/node_modules/file2/index.d.ts`, `export const x = 10;… 314 commandLineArgs: ["--w", "-p", `${projectRoot}/tsconfig.json`], 317 path: `${projectRoot}/tsconfig.json`, [all …]
|
D | emitAndErrorUpdates.ts | 4 path: `${projectRoot}/tsconfig.json`, 25 { currentDirectory: currentDirectory || projectRoot } 37 { currentDirectory: currentDirectory || projectRoot } 49 { currentDirectory: currentDirectory || projectRoot } 61 { currentDirectory: currentDirectory || projectRoot } 73 { currentDirectory: currentDirectory || projectRoot } 85 { currentDirectory: currentDirectory || projectRoot } 94 path: `${projectRoot}/a.ts`, 126 path: `${projectRoot}/b.ts`, 134 path: `${projectRoot}/c.ts`, [all …]
|
D | programUpdates.ts | 625 path: `${projectRoot}/f1.ts`, 629 path: `${projectRoot}/f2.ts`, 633 path: `${projectRoot}/tsconfig.json`, 636 …return createWatchedSystem([file1, file2, libFile, configFile], { currentDirectory: projectRoot }); 641 … change: sys => sys.writeFile(`${projectRoot}/new-file.ts`, "export const z = 1;"), 646 … change: sys => sys.prependFile(`${projectRoot}/f1.ts`, `import { z } from "./new-file";`), 658 path: `${projectRoot}/Project/file1.ts`, 662 path: `${projectRoot}/Project/tsconfig.json`, 665 … createWatchedSystem([file1, libFile, configFile], { currentDirectory: `${projectRoot}/Project` }); 670 … change: sys => sys.writeFile(`${projectRoot}/Project/file2.ts`, "export const y = 10;"), [all …]
|
D | watchApi.ts | 9 path: `${projectRoot}/index.ts`, 13 path: `${projectRoot}/tsconfig.json`, 17 path: `${projectRoot}/settings.json`, 22 { currentDirectory: projectRoot }), 57 [`${projectRoot}/tsconfig.json`]: JSON.stringify({ 61 [`${projectRoot}/main.ts`]: `import { foo } from "./other";`, 62 [`${projectRoot}/other.d.ts`]: "export function foo(): void;", 64 }, { currentDirectory: projectRoot })); 66 configFileName: `${projectRoot}/tsconfig.json`, 73 …idatedResolution) host.hasInvalidatedResolutions = () => sys.fileExists(`${projectRoot}/other.ts`); [all …]
|
D | resolutionCache.ts | 332 commandLineArgs: ["--w", `${projectRoot}/a.ts`], 335 path: `${projectRoot}/a.ts`, 339 path: `${projectRoot}/node_modules2/@types/qqq/index.d.ts`, 342 … return createWatchedSystem([file, libFile, module], { currentDirectory: projectRoot }); 347 … change: sys => sys.renameFolder(`${projectRoot}/node_modules2`, `${projectRoot}/node_modules`), 361 path: `${projectRoot}/test.ts`, 365 path: `${projectRoot}/node_modules/somemodule/index.d.ts`, 369 path: `${projectRoot}/tsconfig.json`, 378 … path: `${projectRoot}/node_modules/.cache/babel-loader/89c02171edab901b9926470ba6d5677e.ts`, 386 verifyIgnore("watch without configFile", ["--w", `${projectRoot}/test.ts`]); [all …]
|
D | sourceOfProjectReferenceRedirect.ts | 98 path: `${projectRoot}/packages/${packageName}/tsconfig.json`, 114 path: `${projectRoot}/packages/${packageName}/src/${fileName}`, 123 path: `${projectRoot}/packages/B/package.json`, 137 path: `${projectRoot}/node_modules/${scope}b`, 138 symLink: `${projectRoot}/packages/B` 147 path: `${projectRoot}/packages/B/package.json`, 158 path: `${projectRoot}/node_modules/${scope}b`, 159 symLink: `${projectRoot}/packages/B`
|
/third_party/typescript/src/testRunner/unittests/tsc/ |
D | declarationEmit.ts | 21 … sys: () => tscWatch.createWatchedSystem(files, { currentDirectory: tscWatch.projectRoot }), 34 { currentDirectory: tscWatch.projectRoot } 113 … { path: `${tscWatch.projectRoot}/plugin-two/index.d.ts`, content: pluginTwoDts() }, 114 …{ path: `${tscWatch.projectRoot}/plugin-two/node_modules/typescript-fsa/package.json`, content: fs… 115 …{ path: `${tscWatch.projectRoot}/plugin-two/node_modules/typescript-fsa/index.d.ts`, content: fsaI… 116 … { path: `${tscWatch.projectRoot}/plugin-one/tsconfig.json`, content: pluginOneConfig() }, 117 … { path: `${tscWatch.projectRoot}/plugin-one/index.ts`, content: pluginOneIndex() }, 118 … { path: `${tscWatch.projectRoot}/plugin-one/action.ts`, content: pluginOneAction() }, 119 …{ path: `${tscWatch.projectRoot}/plugin-one/node_modules/typescript-fsa/package.json`, content: fs… 120 …{ path: `${tscWatch.projectRoot}/plugin-one/node_modules/typescript-fsa/index.d.ts`, content: fsaI… [all …]
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | projectReferences.ts | 233 path: `${tscWatch.projectRoot}/compositea/tsconfig.json`, 245 path: `${tscWatch.projectRoot}/compositea/a.ts`, 249 path: `${tscWatch.projectRoot}/compositea/a2.ts`, 253 path: `${tscWatch.projectRoot}/compositeb/tsconfig.json`, 257 path: `${tscWatch.projectRoot}/compositeb/b.ts`, 261 path: `${tscWatch.projectRoot}/dist/compositeb/b.d.ts`, 265 path: `${tscWatch.projectRoot}/compositec/tsconfig.json`, 278 path: `${tscWatch.projectRoot}/compositec/c.ts`, 366 path: `${tscWatch.projectRoot}/packages/${packageName}/tsconfig.json`, 382 path: `${tscWatch.projectRoot}/packages/${packageName}/src/${fileName}`, [all …]
|
D | projectsWithReferences.ts | 37 path: `${tscWatch.projectRoot}/a/tsconfig.json`, 44 path: `${tscWatch.projectRoot}/b/tsconfig.json`, 52 path: `${tscWatch.projectRoot}/c/tsconfig.json`, 60 path: `${tscWatch.projectRoot}/a/index.ts`, 64 path: `${tscWatch.projectRoot}/b/index.ts`, 69 path: `${tscWatch.projectRoot}/c/index.ts`, 76 path: `${tscWatch.projectRoot}/refs/a.d.ts`, 99 path: `${tscWatch.projectRoot}/nrefs/a.d.ts`, 117 path: `${tscWatch.projectRoot}/nrefs/a.d.ts`, 158 path: `${tscWatch.projectRoot}/a/tsconfig.json`, [all …]
|
D | dynamicFiles.ts | 70 path: `${tscWatch.projectRoot}/tsconfig.json`, 73 …st([config, libFile], { useCaseSensitiveFileNames: true, currentDirectory: tscWatch.projectRoot }); 75 …vice.openClientFile(untitledFile, "const x = 10;", /*scriptKind*/ undefined, tscWatch.projectRoot); 78 verifyDynamic(service, `${tscWatch.projectRoot}/${untitledFile}`); 81 path: `${tscWatch.projectRoot}/Untitled-1.ts`, 86 …ce.openClientFile(untitled.path, untitled.content, /*scriptKind*/ undefined, tscWatch.projectRoot); 95 …vice.openClientFile(untitledFile, "const x = 10;", /*scriptKind*/ undefined, tscWatch.projectRoot); 96 verifyDynamic(service, `${tscWatch.projectRoot}/${untitledFile}`); 103 path: `${tscWatch.projectRoot}/tsconfig.json`, 107 path: `${tscWatch.projectRoot}/file.ts`, [all …]
|
D | syntacticServer.ts | 5 path: `${tscWatch.projectRoot}/a.ts`, 11 path: `${tscWatch.projectRoot}/b.ts`, 17 path: `${tscWatch.projectRoot}/c.ts`, 21 path: `${tscWatch.projectRoot}/node_modules/something/index.d.ts`, 25 path: `${tscWatch.projectRoot}/tsconfig.json`, 118 path: `${tscWatch.projectRoot}/a.ts`, 120 ///<reference path="${tscWatch.projectRoot}/node_modules/something/index.d.ts"/> 124 path: `${tscWatch.projectRoot}/b.ts`, 126 ///<reference path="${tscWatch.projectRoot}/node_modules/something/index.d.ts"/> 130 path: `${tscWatch.projectRoot}/c.ts`, [all …]
|
D | resolutionCache.ts | 340 path: `${tscWatch.projectRoot}/tsconfig.json`, 359 path: `${tscWatch.projectRoot}/src/file1.ts`, 363 path: `${tscWatch.projectRoot}/src/file2.ts`, 372 …nst { module1, module2 } = getModules(`${tscWatch.projectRoot}/src/module1.ts`, `${tscWatch.projec… 388 …le1, module2 } = getModules(`${tscWatch.projectRoot}/src/node_modules/module1/index.ts`, `${tscWat… 404 path: `${tscWatch.projectRoot}/product/src/file1.ts`, 408 path: `${tscWatch.projectRoot}/product/src/feature/file2.ts`, 412 path: `${tscWatch.projectRoot}/product/test/src/file3.ts`, 416 path: `${tscWatch.projectRoot}/product/test/file4.ts`, 428 …{ module1, module2 } = getModules(`${tscWatch.projectRoot}/product/src/module1.ts`, `${tscWatch.pr… [all …]
|
D | partialSemanticServer.ts | 5 path: `${tscWatch.projectRoot}/a.ts`, 11 path: `${tscWatch.projectRoot}/b.ts`, 17 path: `${tscWatch.projectRoot}/c.ts`, 21 path: `${tscWatch.projectRoot}/node_modules/something/index.d.ts`, 25 path: `${tscWatch.projectRoot}/tsconfig.json`, 88 path: `${tscWatch.projectRoot}/a.ts`, 92 path: `${tscWatch.projectRoot}/tsconfig.json`, 139 path: `${tscWatch.projectRoot}/a.ts`, 141 ///<reference path="${tscWatch.projectRoot}/node_modules/something/index.d.ts"/> 145 path: `${tscWatch.projectRoot}/b.ts`, [all …]
|
D | forceConsistentCasingInFileNames.ts | 47 path: `${tscWatch.projectRoot}/Logger.ts`, 51 path: `${tscWatch.projectRoot}/another.ts`, 55 path: `${tscWatch.projectRoot}/tsconfig.json`, 63 … openFilesForSession([{ file: loggerFile, projectRootPath: tscWatch.projectRoot }], session); 69 …le: newLoggerPath, content: loggerFile.content, projectRootPath: tscWatch.projectRoot }], session); 72 … openFilesForSession([{ file: anotherFile, projectRootPath: tscWatch.projectRoot }], session); 96 path: `${tscWatch.projectRoot}/Logger.ts`, 100 path: `${tscWatch.projectRoot}/another.ts`, 104 path: `${tscWatch.projectRoot}/tsconfig.json`, 112 … openFilesForSession([{ file: anotherFile, projectRootPath: tscWatch.projectRoot }], session);
|
D | configuredProjects.ts | 71 path: `${tscWatch.projectRoot}/tsconfig.json`, 77 path: `${tscWatch.projectRoot}/commonFile1.ts`, 81 path: `${tscWatch.projectRoot}/commonFile2.ts`, 396 path: `${tscWatch.projectRoot}/a/b/f1.ts`, 400 path: `${tscWatch.projectRoot}/a/c/f2.ts`, 404 path: `${tscWatch.projectRoot}/a/c/f3.ts`, 408 path: `${tscWatch.projectRoot}/a/c/tsconfig.json`, 750 path: `${tscWatch.projectRoot}/bar/tsconfig.json`, 759 path: `${tscWatch.projectRoot}/bar/index.ts`, 766 path: `${tscWatch.projectRoot}/foo/tsconfig.json`, [all …]
|
D | watchEnvironment.ts | 307 path: `${tscWatch.projectRoot}/src/main.ts`, 311 path: `${tscWatch.projectRoot}/node_modules/bar/index.d.ts`, 315 path: `${tscWatch.projectRoot}/node_modules/bar/foo.d.ts`, 333 path: `${tscWatch.projectRoot}/tsconfig.json`, 338 const host = createServerHost(files, { currentDirectory: tscWatch.projectRoot }); 358 const host = createServerHost(files, { currentDirectory: tscWatch.projectRoot }); 364 projectFileName: `${tscWatch.projectRoot}/project.csproj`, 386 const host = createServerHost(files, { currentDirectory: tscWatch.projectRoot }); 389 projectFileName: `${tscWatch.projectRoot}/project.csproj`, 402 const host = createServerHost(files, { currentDirectory: tscWatch.projectRoot }); [all …]
|
/third_party/typescript/src/testRunner/unittests/tsbuild/ |
D | moduleResolution.ts | 6 path: `${projectRoot}/packages/pkg1/index.ts`, 12 path: `${projectRoot}/packages/pkg1/tsconfig.json`, 19 path: `${projectRoot}/packages/pkg2/const.ts`, 23 path: `${projectRoot}/packages/pkg2/index.ts`, 27 path: `${projectRoot}/packages/pkg2/tsconfig.json`, 38 path: `${projectRoot}/packages/pkg2/package.json`, 46 path: `${projectRoot}/node_modules/pkg2`, 47 symLink: `${projectRoot}/packages/pkg2`, 50 ], { currentDirectory: projectRoot });
|
/third_party/typescript/src/testRunner/unittests/services/ |
D | languageService.ts | 146 path: `${tscWatch.projectRoot}/projects/project1/tsconfig.json`, 156 path: `${tscWatch.projectRoot}/projects/project1/class1.ts`, 160 path: `${tscWatch.projectRoot}/projects/project1/class1.d.ts`, 164 path: `${tscWatch.projectRoot}/projects/project2/tsconfig.json`, 176 path: `${tscWatch.projectRoot}/projects/project2/class2.ts`, 180 …const result = getParsedCommandLineOfConfigFile(`${tscWatch.projectRoot}/projects/project2/tsconfi… 218 const class3 = `${tscWatch.projectRoot}/projects/project1/class3.ts`; 226 …system.ensureFileOrFolder({ path: `${tscWatch.projectRoot}/projects/project1/temp/file.d.ts`, cont… 229 …system.writeFile(`${tscWatch.projectRoot}/projects/project1/class3.d.ts`, `declare class class3 {}… 241 const class3 = `${tscWatch.projectRoot}/projects/project1/class3.ts`; [all …]
|