From 0446430aaa88356c6d7889159eab5e2f9ef205ea Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 25 Jul 2022 13:53:39 -0700 Subject: [PATCH] Add tests where module resolution caches should reuse the resolutions from buildInfo --- .../unittests/tsbuild/cacheResolutions.ts | 14 + .../tsbuild/cacheResolutionsHelper.ts | 4 + .../tsbuildWatch/cacheResolutions.ts | 21 + .../unittests/tsc/cacheResolutions.ts | 14 + .../unittests/tscWatch/cacheResolutions.ts | 21 + .../unittests/tsserver/cacheResolutions.ts | 44 +- .../multiple-places-discrepancies.js | 1204 +++++++++++ .../cacheResolutions/multiple-places.js | 1585 ++++++++++++++- .../multiple-places-already-built.js | 1779 +++++++++++++++- .../multiple-places-first-pass.js | 1448 +++++++++++++ .../cacheResolutions/multiple-places.js | 1795 +++++++++++++++- .../multiple-places-discrepancies.js | 1204 +++++++++++ .../tsc/cacheResolutions/multiple-places.js | 1585 ++++++++++++++- .../multiple-places-already-built.js | 1799 +++++++++++++++- .../multiple-places-first-pass.js | 1452 +++++++++++++ .../cacheResolutions/multiple-places.js | 1803 ++++++++++++++++- .../multiple-places-first-pass.js | 939 +++++++++ .../multiple-places-not-built.js | 1079 +++++++--- .../cacheResolutions/multiple-places.js | 1127 ++++++++--- 19 files changed, 18250 insertions(+), 667 deletions(-) create mode 100644 tests/baselines/reference/tsbuild/cacheResolutions/multiple-places-discrepancies.js create mode 100644 tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places-first-pass.js create mode 100644 tests/baselines/reference/tsc/cacheResolutions/multiple-places-discrepancies.js create mode 100644 tests/baselines/reference/tscWatch/cacheResolutions/multiple-places-first-pass.js create mode 100644 tests/baselines/reference/tsserver/cacheResolutions/multiple-places-first-pass.js diff --git a/src/testRunner/unittests/tsbuild/cacheResolutions.ts b/src/testRunner/unittests/tsbuild/cacheResolutions.ts index 8d010d2c591..0e8198feb30 100644 --- a/src/testRunner/unittests/tsbuild/cacheResolutions.ts +++ b/src/testRunner/unittests/tsbuild/cacheResolutions.ts @@ -148,6 +148,20 @@ describe("unittests:: tsbuild:: cacheResolutions::", () => { caption: "modify c/ca/caa/randomFileForImport by adding import", edit: fs => prependText(fs, "/src/project/c/ca/caa/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), }, + { + caption: "modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import", + edit: fs => prependText(fs, "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), + discrepancyExplanation: () => [ + `Incremental is currently not reusing resolution so tsbuildinfo has two same resolutions instead of one TODO: (shkamat)` + ] + }, + { + caption: "modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import", + edit: fs => prependText(fs, "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), + discrepancyExplanation: () => [ + `Incremental is currently not reusing resolution so tsbuildinfo has two same resolutions instead of one TODO: (shkamat)` + ] + }, ] }); }); \ No newline at end of file diff --git a/src/testRunner/unittests/tsbuild/cacheResolutionsHelper.ts b/src/testRunner/unittests/tsbuild/cacheResolutionsHelper.ts index 45adf94ec67..ac6b584ce9a 100644 --- a/src/testRunner/unittests/tsbuild/cacheResolutionsHelper.ts +++ b/src/testRunner/unittests/tsbuild/cacheResolutionsHelper.ts @@ -261,12 +261,14 @@ function getFsMapWithSameResolutionFromMultiplePlaces(): { [path: string]: strin "c/ca/caa/randomFileForImport.ts", "c/ca/caa/caaa/fileWithImports.ts", "c/cb/fileWithImports.ts", + "d/da/daa/daaa/x/y/z/randomFileForImport.ts", "d/da/daa/daaa/fileWithImports.ts", "d/da/daa/fileWithImports.ts", "d/da/fileWithImports.ts", "e/ea/fileWithImports.ts", "e/ea/eaa/fileWithImports.ts", "e/ea/eaa/eaaa/fileWithImports.ts", + "e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts", ], }), "/src/project/fileWithImports.ts": Utils.dedent` @@ -290,6 +292,7 @@ function getFsMapWithSameResolutionFromMultiplePlaces(): { [path: string]: strin "/src/project/c/cb/fileWithImports.ts": Utils.dedent` import type { ImportInterface0 } from "pkg0"; `, + "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts": getRandomFileContent(), "/src/project/d/da/daa/daaa/fileWithImports.ts": Utils.dedent` import type { ImportInterface0 } from "pkg0"; `, @@ -308,6 +311,7 @@ function getFsMapWithSameResolutionFromMultiplePlaces(): { [path: string]: strin "/src/project/e/ea/eaa/eaaa/fileWithImports.ts": Utils.dedent` import type { ImportInterface0 } from "pkg0"; `, + "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts": getRandomFileContent(), "/src/project/node_modules/pkg0/index.d.ts": getPkgImportContent("Import", 0), }; } diff --git a/src/testRunner/unittests/tsbuildWatch/cacheResolutions.ts b/src/testRunner/unittests/tsbuildWatch/cacheResolutions.ts index b81f5d8751f..932acd1acbf 100644 --- a/src/testRunner/unittests/tsbuildWatch/cacheResolutions.ts +++ b/src/testRunner/unittests/tsbuildWatch/cacheResolutions.ts @@ -158,6 +158,17 @@ describe("unittests:: tsbuildWatch:: watchMode:: cacheResolutions::", () => { describe("resolution reuse from multiple places", () => { verifyTscWatchMultiPlaces("multiple places", getWatchSystemWithSameResolutionFromMultiplePlaces); verifyTscWatchMultiPlaces("multiple places already built", getWatchSystemWithSameResolutionFromMultiplePlacesWithBuild); + verifyTscWatch({ + scenario: "cacheResolutions", + subScenario: "multiple places first pass", + sys: () => { + const sys = getWatchSystemWithSameResolutionFromMultiplePlacesWithBuild(); + sys.prependFile("/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`); + return sys; + }, + commandLineArgs: ["-b", "-w", "--explainFiles"], + baselineModulesAndTypeRefs: true, + }); function verifyTscWatchMultiPlaces(subScenario: string, sys: () => TestServerHost) { verifyTscWatch({ scenario: "cacheResolutions", @@ -181,6 +192,16 @@ describe("unittests:: tsbuildWatch:: watchMode:: cacheResolutions::", () => { edit: sys => sys.prependFile("/src/project/c/ca/caa/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), timeouts: sys => sys.runQueuedTimeoutCallbacks(), }, + { + caption: "modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import", + edit: sys => sys.prependFile("/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), + timeouts: sys => sys.runQueuedTimeoutCallbacks(), + }, + { + caption: "modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import", + edit: sys => sys.prependFile("/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), + timeouts: sys => sys.runQueuedTimeoutCallbacks(), + }, ] }); } diff --git a/src/testRunner/unittests/tsc/cacheResolutions.ts b/src/testRunner/unittests/tsc/cacheResolutions.ts index 971c68a7f47..e8c1f27d7e3 100644 --- a/src/testRunner/unittests/tsc/cacheResolutions.ts +++ b/src/testRunner/unittests/tsc/cacheResolutions.ts @@ -244,6 +244,20 @@ describe("unittests:: tsc:: cacheResolutions::", () => { caption: "modify c/ca/caa/randomFileForImport by adding import", edit: fs => prependText(fs, "/src/project/c/ca/caa/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), }, + { + caption: "modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import", + edit: fs => prependText(fs, "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), + discrepancyExplanation: () => [ + `Incremental is currently not reusing resolution so tsbuildinfo has two same resolutions instead of one TODO: (shkamat)` + ] + }, + { + caption: "modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import", + edit: fs => prependText(fs, "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), + discrepancyExplanation: () => [ + `Incremental is currently not reusing resolution so tsbuildinfo has two same resolutions instead of one TODO: (shkamat)` + ] + }, ] }); }); \ No newline at end of file diff --git a/src/testRunner/unittests/tscWatch/cacheResolutions.ts b/src/testRunner/unittests/tscWatch/cacheResolutions.ts index 2150e2eec6c..4dde55b908f 100644 --- a/src/testRunner/unittests/tscWatch/cacheResolutions.ts +++ b/src/testRunner/unittests/tscWatch/cacheResolutions.ts @@ -168,6 +168,17 @@ describe("unittests:: tsc-watch:: cacheResolutions::", () => { describe("resolution reuse from multiple places", () => { verifyTscWatchMultiPlaces("multiple places", getWatchSystemWithSameResolutionFromMultiplePlaces); verifyTscWatchMultiPlaces("multiple places already built", getWatchSystemWithSameResolutionFromMultiplePlacesWithBuild); + verifyTscWatch({ + scenario: "cacheResolutions", + subScenario: "multiple places first pass", + sys: () => { + const sys = getWatchSystemWithSameResolutionFromMultiplePlacesWithBuild(); + sys.prependFile("/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`); + return sys; + }, + commandLineArgs: ["-w", "--explainFiles"], + baselineModulesAndTypeRefs: true, + }); function verifyTscWatchMultiPlaces(subScenario: string, sys: () => TestServerHost) { verifyTscWatch({ scenario: "cacheResolutions", @@ -191,6 +202,16 @@ describe("unittests:: tsc-watch:: cacheResolutions::", () => { edit: sys => sys.prependFile("/src/project/c/ca/caa/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), timeouts: sys => sys.runQueuedTimeoutCallbacks(), }, + { + caption: "modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import", + edit: sys => sys.prependFile("/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), + timeouts: sys => sys.runQueuedTimeoutCallbacks(), + }, + { + caption: "modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import", + edit: sys => sys.prependFile("/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`), + timeouts: sys => sys.runQueuedTimeoutCallbacks(), + }, ] }); } diff --git a/src/testRunner/unittests/tsserver/cacheResolutions.ts b/src/testRunner/unittests/tsserver/cacheResolutions.ts index 61c1cc91ea3..860bc19b9b8 100644 --- a/src/testRunner/unittests/tsserver/cacheResolutions.ts +++ b/src/testRunner/unittests/tsserver/cacheResolutions.ts @@ -202,11 +202,25 @@ describe("unittests:: tsserver:: cacheResolutions:: tsserverProjectSystem cachin describe("resolution reuse from multiple places", () => { verifyTsserverMultiPlaces("multiple places not built", getServerHostWithSameResolutionFromMultiplePlaces); verifyTsserverMultiPlaces("multiple places", getServerHostWithSameResolutionFromMultiplePlacesWithBuild); + it("multiple places first pass", () => { + const host = getServerHostWithSameResolutionFromMultiplePlacesWithBuild(); + host.prependFile("/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", `import type { ImportInterface0 } from "pkg0";\n`); + fakes.patchHostForBuildInfoReadWrite(host); + const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) }); + openFilesForSession(["/src/project/randomFileForImport.ts"], session); + baselineTsserverLogs("cacheResolutions", "multiple places first pass", session); + }); function verifyTsserverMultiPlaces(scenario: string, createHost: () => TestServerHost) { it(scenario, () => { const host = fakes.patchHostForBuildInfoReadWrite(createHost()); const session = createSession(host, { logger: createLoggerWithInMemoryLogs(host) }); - openFilesForSession(["/src/project/randomFileForImport.ts", "/src/project/b/randomFileForImport.ts", "/src/project/c/ca/caa/randomFileForImport.ts"], session); + openFilesForSession([ + "/src/project/randomFileForImport.ts", + "/src/project/b/randomFileForImport.ts", + "/src/project/c/ca/caa/randomFileForImport.ts", + "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", + "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts", + ], session); session.logger.info("modify randomFileForImport by adding import"); session.executeCommandSeq({ @@ -250,6 +264,34 @@ describe("unittests:: tsserver:: cacheResolutions:: tsserverProjectSystem cachin }); ts.server.updateProjectIfDirty(session.getProjectService().configuredProjects.get("/src/project/tsconfig.json")!); + session.logger.info("modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import"); + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.Change, + arguments: { + file: "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", + line: 1, + offset: 1, + endLine: 1, + endOffset: 1, + insertString: `import type { ImportInterface0 } from "pkg0";\n`, + } + }); + ts.server.updateProjectIfDirty(session.getProjectService().configuredProjects.get("/src/project/tsconfig.json")!); + + session.logger.info("modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import"); + session.executeCommandSeq({ + command: ts.server.protocol.CommandTypes.Change, + arguments: { + file: "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts", + line: 1, + offset: 1, + endLine: 1, + endOffset: 1, + insertString: `import type { ImportInterface0 } from "pkg0";\n`, + } + }); + ts.server.updateProjectIfDirty(session.getProjectService().configuredProjects.get("/src/project/tsconfig.json")!); + baselineTsserverLogs("cacheResolutions", scenario, session); }); } diff --git a/tests/baselines/reference/tsbuild/cacheResolutions/multiple-places-discrepancies.js b/tests/baselines/reference/tsbuild/cacheResolutions/multiple-places-discrepancies.js new file mode 100644 index 00000000000..6848dca3f3f --- /dev/null +++ b/tests/baselines/reference/tsbuild/cacheResolutions/multiple-places-discrepancies.js @@ -0,0 +1,1204 @@ +3:: modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import +Incremental is currently not reusing resolution so tsbuildinfo has two same resolutions instead of one TODO: (shkamat) +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./a/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/ba/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/cb/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "version": "-10726455937-export const x = 10;" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "FakeFileName", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./a/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/ba/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/cb/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "version": "-10726455937-export const x = 10;" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "FakeFileName", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion" +} +4:: modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import +Incremental is currently not reusing resolution so tsbuildinfo has two same resolutions instead of one TODO: (shkamat) +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./a/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/ba/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/cb/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "FakeFileName", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./a/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/ba/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/cb/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "FakeFileName", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 3 + ], + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsbuild/cacheResolutions/multiple-places.js b/tests/baselines/reference/tsbuild/cacheResolutions/multiple-places.js index 2521c193fa6..d7c51600950 100644 --- a/tests/baselines/reference/tsbuild/cacheResolutions/multiple-places.js +++ b/tests/baselines/reference/tsbuild/cacheResolutions/multiple-places.js @@ -44,6 +44,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/d/da/daa/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -56,6 +59,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/e/ea/eaa/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -75,7 +81,7 @@ export interface ImportInterface0 {} export const x = 10; //// [/src/project/tsconfig.json] -{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts"]} +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} @@ -197,6 +203,8 @@ src/project/c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json src/project/d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/d/da/daa/fileWithImports.ts @@ -209,6 +217,8 @@ src/project/e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success File: /src/project/fileWithImports.ts resolvedModules: @@ -407,6 +417,17 @@ export {}; Object.defineProperty(exports, "__esModule", { value: true }); +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + //// [/src/project/d/da/daa/fileWithImports.d.ts] export {}; @@ -434,6 +455,17 @@ export {}; Object.defineProperty(exports, "__esModule", { value: true }); +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + //// [/src/project/e/ea/eaa/fileWithImports.d.ts] export {}; @@ -473,7 +505,7 @@ exports.x = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -490,12 +522,14 @@ exports.x = 10; "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -594,6 +628,14 @@ exports.x = 10; "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -641,6 +683,14 @@ exports.x = 10; }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -696,16 +746,18 @@ exports.x = 10; "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -843,7 +895,7 @@ exports.x = 10; } }, "version": "FakeTSVersion", - "size": 3446 + "size": 3770 } @@ -905,6 +957,8 @@ src/project/c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json src/project/d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/d/da/daa/fileWithImports.ts @@ -917,6 +971,8 @@ src/project/e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success File: /src/project/fileWithImports.ts resolvedModules: @@ -1051,7 +1107,7 @@ pkg0: { //// [/src/project/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1068,12 +1124,14 @@ pkg0: { "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -1172,6 +1230,14 @@ pkg0: { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -1219,6 +1285,14 @@ pkg0: { }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -1277,16 +1351,18 @@ pkg0: { "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -1424,7 +1500,7 @@ pkg0: { } }, "version": "FakeTSVersion", - "size": 3500 + "size": 3824 } @@ -1488,6 +1564,8 @@ src/project/c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json src/project/d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/d/da/daa/fileWithImports.ts @@ -1500,6 +1578,8 @@ src/project/e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success File: /src/project/fileWithImports.ts resolvedModules: @@ -1644,7 +1724,7 @@ pkg0: { //// [/src/project/b/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1661,12 +1741,14 @@ pkg0: { "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -1765,6 +1847,14 @@ pkg0: { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -1812,6 +1902,14 @@ pkg0: { }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -1873,16 +1971,18 @@ pkg0: { "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2020,7 +2120,7 @@ pkg0: { } }, "version": "FakeTSVersion", - "size": 3554 + "size": 3878 } @@ -2086,6 +2186,8 @@ src/project/c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json src/project/d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/d/da/daa/fileWithImports.ts @@ -2098,6 +2200,8 @@ src/project/e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success File: /src/project/fileWithImports.ts resolvedModules: @@ -2252,7 +2356,7 @@ pkg0: { //// [/src/project/c/ca/caa/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2269,12 +2373,14 @@ pkg0: { "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -2373,6 +2479,14 @@ pkg0: { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -2420,6 +2534,14 @@ pkg0: { }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -2484,16 +2606,18 @@ pkg0: { "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2631,6 +2755,1441 @@ pkg0: { } }, "version": "FakeTSVersion", - "size": 3608 + "size": 3932 +} + + + +Change:: modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import +Input:: +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + + +Output:: +/lib/tsc -b /src/project --explainFiles +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' found in cache from location '/src/project/b/ba', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' found in cache from location '/src/project/b', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' found in cache from location '/src/project/c/ca', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' found in cache from location '/src/project/c/ca/caa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' found in cache from location '/src/project/c/ca/caa/caaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' found in cache from location '/src/project/c/cb', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa/daaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' found in cache from location '/src/project/d/da', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' found in cache from location '/src/project/e/ea', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa/eaaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +lib/lib.d.ts + Default library for target 'es5' +src/project/node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'src/project/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/a/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/b/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/eaa/eaaa/fileWithImports.ts' +src/project/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/a/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +exitCode:: ExitStatus.Success +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 4072 +} + + + +Change:: modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import +Input:: +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + + +Output:: +/lib/tsc -b /src/project --explainFiles +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' found in cache from location '/src/project/b/ba', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' found in cache from location '/src/project/b', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' found in cache from location '/src/project/c/ca', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' found in cache from location '/src/project/c/ca/caa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' found in cache from location '/src/project/c/ca/caa/caaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' found in cache from location '/src/project/c/cb', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' found in cache from location '/src/project/d/da/daa/daaa/x/y/z', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa/daaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' found in cache from location '/src/project/d/da', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' found in cache from location '/src/project/e/ea', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa/eaaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/eaa/eaaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +lib/lib.d.ts + Default library for target 'es5' +src/project/node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'src/project/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/a/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/b/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/eaa/eaaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts' +src/project/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/a/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +exitCode:: ExitStatus.Success +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa/x/y/z"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[19,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2],[1,3]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[3]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa/x/y/z" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 3 + ], + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 4212 } diff --git a/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places-already-built.js b/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places-already-built.js index 74a64b560eb..0dec79a9b78 100644 --- a/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places-already-built.js +++ b/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places-already-built.js @@ -1,6 +1,6 @@ Input:: //// [/src/project/tsconfig.json] -{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts"]} +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} //// [/src/project/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -35,6 +35,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/d/da/daa/daaa/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -59,6 +62,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/node_modules/pkg0/index.d.ts] export interface ImportInterface0 {} @@ -162,6 +168,17 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + //// [/src/project/d/da/daa/daaa/fileWithImports.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -216,8 +233,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -234,12 +262,14 @@ export {}; "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -338,6 +368,14 @@ export {}; "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -385,6 +423,14 @@ export {}; }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -440,16 +486,18 @@ export {}; "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -587,7 +635,7 @@ export {}; } }, "version": "FakeTSVersion", - "size": 3338 + "size": 3658 } @@ -678,9 +726,9 @@ Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== >> Screen clear -[12:02:28 AM] Starting compilation in watch mode... +[12:02:52 AM] Starting compilation in watch mode... -[12:02:29 AM] Found 0 errors. Watching for file changes. +[12:02:53 AM] Found 0 errors. Watching for file changes. @@ -707,6 +755,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -719,6 +769,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} FsWatchesRecursive:: @@ -735,7 +787,7 @@ export const x = 10; Output:: >> Screen clear -[12:02:32 AM] File change detected. Starting incremental compilation... +[12:02:56 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -784,6 +836,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -796,11 +850,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:43 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:07 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModuleCache Program files:: @@ -815,12 +871,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/randomFileForImport.ts @@ -981,6 +1039,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -993,6 +1053,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} FsWatchesRecursive:: @@ -1000,7 +1062,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1017,12 +1079,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -1121,6 +1185,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -1168,6 +1240,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -1226,16 +1306,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -1373,7 +1455,7 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3392 + "size": 3712 } @@ -1387,7 +1469,7 @@ export const x = 10; Output:: >> Screen clear -[12:02:46 AM] File change detected. Starting incremental compilation... +[12:03:10 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -1438,6 +1520,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -1450,11 +1534,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:57 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:21 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModuleCache Program files:: @@ -1469,12 +1555,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/b/randomFileForImport.ts @@ -1645,6 +1733,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -1657,6 +1747,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} FsWatchesRecursive:: @@ -1664,7 +1756,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/b/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1681,12 +1773,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -1785,6 +1879,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -1832,6 +1934,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -1893,16 +2003,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2040,7 +2152,7 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3446 + "size": 3766 } @@ -2054,7 +2166,7 @@ export const x = 10; Output:: >> Screen clear -[12:03:00 AM] File change detected. Starting incremental compilation... +[12:03:24 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -2107,6 +2219,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -2119,11 +2233,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:03:11 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:35 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModuleCache Program files:: @@ -2138,12 +2254,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/c/ca/caa/randomFileForImport.ts @@ -2324,6 +2442,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -2336,6 +2456,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} FsWatchesRecursive:: @@ -2343,7 +2465,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/c/ca/caa/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2360,12 +2482,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -2464,6 +2588,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -2511,6 +2643,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -2575,16 +2715,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2722,6 +2864,1595 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3500 + "size": 3820 +} + + +Change:: modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import + +Input:: +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + +Output:: +>> Screen clear +[12:03:39 AM] File change detected. Starting incremental compilation... + +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' found in cache from location '/src/project/b/ba', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' found in cache from location '/src/project/b', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' found in cache from location '/src/project/c/ca', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' found in cache from location '/src/project/c/ca/caa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' found in cache from location '/src/project/c/ca/caa/caaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' found in cache from location '/src/project/c/cb', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa/daaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' found in cache from location '/src/project/d/da', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' found in cache from location '/src/project/e/ea', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa/eaaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +../../a/lib/lib.d.ts + Default library for target 'es5' +node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'randomFileForImport.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'b/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' +fileWithImports.ts + Part of 'files' list in tsconfig.json +randomFileForImport.ts + Part of 'files' list in tsconfig.json +a/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:50 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] +Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: SafeModuleCache +Program files:: +/a/lib/lib.d.ts +/src/project/node_modules/pkg0/index.d.ts +/src/project/fileWithImports.ts +/src/project/randomFileForImport.ts +/src/project/a/fileWithImports.ts +/src/project/b/ba/fileWithImports.ts +/src/project/b/randomFileForImport.ts +/src/project/c/ca/fileWithImports.ts +/src/project/c/ca/caa/randomFileForImport.ts +/src/project/c/ca/caa/caaa/fileWithImports.ts +/src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +/src/project/d/da/daa/daaa/fileWithImports.ts +/src/project/d/da/daa/fileWithImports.ts +/src/project/d/da/fileWithImports.ts +/src/project/e/ea/fileWithImports.ts +/src/project/e/ea/eaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + +Shape signatures in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts (computed .d.ts) + +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +PolledWatches:: + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/randomfileforimport.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 3960 +} + + +Change:: modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import + +Input:: +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + +Output:: +>> Screen clear +[12:03:53 AM] File change detected. Starting incremental compilation... + +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' found in cache from location '/src/project/b/ba', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' found in cache from location '/src/project/b', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' found in cache from location '/src/project/c/ca', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' found in cache from location '/src/project/c/ca/caa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' found in cache from location '/src/project/c/ca/caa/caaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' found in cache from location '/src/project/c/cb', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' found in cache from location '/src/project/d/da/daa/daaa/x/y/z', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa/daaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' found in cache from location '/src/project/d/da', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' found in cache from location '/src/project/e/ea', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa/eaaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/eaa/eaaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +../../a/lib/lib.d.ts + Default library for target 'es5' +node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'randomFileForImport.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'b/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts' +fileWithImports.ts + Part of 'files' list in tsconfig.json +randomFileForImport.ts + Part of 'files' list in tsconfig.json +a/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:04:04 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] +Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: SafeModuleCache +Program files:: +/a/lib/lib.d.ts +/src/project/node_modules/pkg0/index.d.ts +/src/project/fileWithImports.ts +/src/project/randomFileForImport.ts +/src/project/a/fileWithImports.ts +/src/project/b/ba/fileWithImports.ts +/src/project/b/randomFileForImport.ts +/src/project/c/ca/fileWithImports.ts +/src/project/c/ca/caa/randomFileForImport.ts +/src/project/c/ca/caa/caaa/fileWithImports.ts +/src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +/src/project/d/da/daa/daaa/fileWithImports.ts +/src/project/d/da/daa/fileWithImports.ts +/src/project/d/da/fileWithImports.ts +/src/project/e/ea/fileWithImports.ts +/src/project/e/ea/eaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Shape signatures in builder refreshed for:: +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts (computed .d.ts) + +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +PolledWatches:: + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/randomfileforimport.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa/x/y/z"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[19,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2],[1,3]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[3]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa/x/y/z" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 3 + ], + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 4100 } diff --git a/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places-first-pass.js b/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places-first-pass.js new file mode 100644 index 00000000000..68fbc89510f --- /dev/null +++ b/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places-first-pass.js @@ -0,0 +1,1448 @@ +Input:: +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} + +//// [/src/project/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/a/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/b/ba/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/b/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/c/ca/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/c/ca/caa/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/c/ca/caa/caaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/c/cb/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + +//// [/src/project/d/da/daa/daaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/d/da/daa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/d/da/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/eaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/eaa/eaaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/node_modules/pkg0/index.d.ts] +export interface ImportInterface0 {} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/src/project/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/fileWithImports.d.ts] +export {}; + + +//// [/src/project/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/a/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/a/fileWithImports.d.ts] +export {}; + + +//// [/src/project/b/ba/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/b/ba/fileWithImports.d.ts] +export {}; + + +//// [/src/project/b/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/b/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/c/ca/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/c/ca/fileWithImports.d.ts] +export {}; + + +//// [/src/project/c/ca/caa/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/c/ca/caa/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/c/ca/caa/caaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/c/ca/caa/caaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/c/cb/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/c/cb/fileWithImports.d.ts] +export {}; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/d/da/daa/daaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/d/da/daa/daaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/d/da/daa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/d/da/daa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/d/da/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/d/da/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/e/ea/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/eaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/e/ea/eaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/eaa/eaaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/e/ea/eaa/eaaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 3658 +} + + +/a/lib/tsc.js -b -w --explainFiles +Output:: +======== Resolving module 'pkg0' from '/src/project/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/a/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/a/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/b/ba/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/b/ba/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/c/ca/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/c/ca/caa/caaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project/c/ca'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/c/cb/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/c/cb/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project/c'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Resolution for module 'pkg0' was found in cache from location '/src/project/d/da/daa'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/d/da/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Resolution for module 'pkg0' was found in cache from location '/src/project/d/da'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/e/ea/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea/eaa'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== + +>> Screen clear +[12:02:54 AM] Starting compilation in watch mode... + +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' found in cache from location '/src/project/b/ba', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' found in cache from location '/src/project/c/ca', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' found in cache from location '/src/project/c/ca/caa/caaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' found in cache from location '/src/project/c/cb', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa/daaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' found in cache from location '/src/project/d/da', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' found in cache from location '/src/project/e/ea', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa/eaaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +../../a/lib/lib.d.ts + Default library for target 'es5' +node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' +fileWithImports.ts + Part of 'files' list in tsconfig.json +randomFileForImport.ts + Part of 'files' list in tsconfig.json +a/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:05 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] +Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: SafeModuleCache +Program files:: +/a/lib/lib.d.ts +/src/project/node_modules/pkg0/index.d.ts +/src/project/fileWithImports.ts +/src/project/randomFileForImport.ts +/src/project/a/fileWithImports.ts +/src/project/b/ba/fileWithImports.ts +/src/project/b/randomFileForImport.ts +/src/project/c/ca/fileWithImports.ts +/src/project/c/ca/caa/randomFileForImport.ts +/src/project/c/ca/caa/caaa/fileWithImports.ts +/src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +/src/project/d/da/daa/daaa/fileWithImports.ts +/src/project/d/da/daa/fileWithImports.ts +/src/project/d/da/fileWithImports.ts +/src/project/e/ea/fileWithImports.ts +/src/project/e/ea/eaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + +Shape signatures in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts (computed .d.ts) + +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +PolledWatches:: +/src/project/node_modules/pkg0/package.json: + {"pollingInterval":2000} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/randomfileforimport.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 3798 +} + diff --git a/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places.js b/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places.js index a6eb6761fc2..bd47664a0de 100644 --- a/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places.js +++ b/tests/baselines/reference/tsbuildWatch/cacheResolutions/multiple-places.js @@ -1,6 +1,6 @@ Input:: //// [/src/project/tsconfig.json] -{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts"]} +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} //// [/src/project/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -35,6 +35,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/d/da/daa/daaa/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -59,6 +62,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/node_modules/pkg0/index.d.ts] export interface ImportInterface0 {} @@ -79,7 +85,7 @@ interface Array { length: number; [n: number]: T; } /a/lib/tsc.js -b -w --explainFiles Output:: >> Screen clear -[12:01:23 AM] Starting compilation in watch mode... +[12:01:39 AM] Starting compilation in watch mode... ======== Resolving module 'pkg0' from '/src/project/fileWithImports.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -197,6 +203,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -209,11 +217,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:29 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:02:53 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: Not Program files:: @@ -228,12 +238,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /a/lib/lib.d.ts @@ -247,12 +259,14 @@ Semantic diagnostics in builder refreshed for:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) @@ -266,12 +280,14 @@ Shape signatures in builder refreshed for:: /src/project/c/ca/caa/randomfileforimport.ts (computed .d.ts during emit) /src/project/c/ca/caa/caaa/filewithimports.ts (computed .d.ts during emit) /src/project/c/cb/filewithimports.ts (computed .d.ts during emit) +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts (computed .d.ts during emit) /src/project/d/da/daa/daaa/filewithimports.ts (computed .d.ts during emit) /src/project/d/da/daa/filewithimports.ts (computed .d.ts during emit) /src/project/d/da/filewithimports.ts (computed .d.ts during emit) /src/project/e/ea/filewithimports.ts (computed .d.ts during emit) /src/project/e/ea/eaa/filewithimports.ts (computed .d.ts during emit) /src/project/e/ea/eaa/eaaa/filewithimports.ts (computed .d.ts during emit) +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts (computed .d.ts during emit) File: /src/project/fileWithImports.ts resolvedModules: @@ -418,6 +434,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -430,6 +448,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} FsWatchesRecursive:: @@ -522,6 +542,17 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + //// [/src/project/d/da/daa/daaa/fileWithImports.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -576,8 +607,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -594,12 +636,14 @@ export {}; "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -698,6 +742,14 @@ export {}; "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -745,6 +797,14 @@ export {}; }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -800,16 +860,18 @@ export {}; "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -947,7 +1009,7 @@ export {}; } }, "version": "FakeTSVersion", - "size": 3338 + "size": 3658 } @@ -961,7 +1023,7 @@ export const x = 10; Output:: >> Screen clear -[12:02:32 AM] File change detected. Starting incremental compilation... +[12:02:56 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -1010,6 +1072,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -1022,11 +1086,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:43 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:07 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModuleCache Program files:: @@ -1041,12 +1107,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/randomFileForImport.ts @@ -1209,6 +1277,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -1221,6 +1291,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} FsWatchesRecursive:: @@ -1228,7 +1300,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1245,12 +1317,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -1349,6 +1423,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -1396,6 +1478,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -1454,16 +1544,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -1601,7 +1693,7 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3392 + "size": 3712 } @@ -1615,7 +1707,7 @@ export const x = 10; Output:: >> Screen clear -[12:02:46 AM] File change detected. Starting incremental compilation... +[12:03:10 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -1666,6 +1758,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -1678,11 +1772,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:57 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:21 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModuleCache Program files:: @@ -1697,12 +1793,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/b/randomFileForImport.ts @@ -1875,6 +1973,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -1887,6 +1987,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} FsWatchesRecursive:: @@ -1894,7 +1996,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/b/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1911,12 +2013,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -2015,6 +2119,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -2062,6 +2174,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -2123,16 +2243,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2270,7 +2392,7 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3446 + "size": 3766 } @@ -2284,7 +2406,7 @@ export const x = 10; Output:: >> Screen clear -[12:03:00 AM] File change detected. Starting incremental compilation... +[12:03:24 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -2337,6 +2459,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -2349,11 +2473,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:03:11 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:35 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModuleCache Program files:: @@ -2368,12 +2494,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/c/ca/caa/randomFileForImport.ts @@ -2556,6 +2684,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -2568,6 +2698,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} FsWatchesRecursive:: @@ -2575,7 +2707,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/c/ca/caa/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2592,12 +2724,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -2696,6 +2830,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -2743,6 +2885,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -2807,16 +2957,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2954,6 +3106,1599 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3500 + "size": 3820 +} + + +Change:: modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import + +Input:: +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + +Output:: +>> Screen clear +[12:03:39 AM] File change detected. Starting incremental compilation... + +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' found in cache from location '/src/project/b/ba', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' found in cache from location '/src/project/b', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' found in cache from location '/src/project/c/ca', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' found in cache from location '/src/project/c/ca/caa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' found in cache from location '/src/project/c/ca/caa/caaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' found in cache from location '/src/project/c/cb', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa/daaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' found in cache from location '/src/project/d/da', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' found in cache from location '/src/project/e/ea', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa/eaaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +../../a/lib/lib.d.ts + Default library for target 'es5' +node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'randomFileForImport.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'b/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' +fileWithImports.ts + Part of 'files' list in tsconfig.json +randomFileForImport.ts + Part of 'files' list in tsconfig.json +a/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:50 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] +Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: SafeModuleCache +Program files:: +/a/lib/lib.d.ts +/src/project/node_modules/pkg0/index.d.ts +/src/project/fileWithImports.ts +/src/project/randomFileForImport.ts +/src/project/a/fileWithImports.ts +/src/project/b/ba/fileWithImports.ts +/src/project/b/randomFileForImport.ts +/src/project/c/ca/fileWithImports.ts +/src/project/c/ca/caa/randomFileForImport.ts +/src/project/c/ca/caa/caaa/fileWithImports.ts +/src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +/src/project/d/da/daa/daaa/fileWithImports.ts +/src/project/d/da/daa/fileWithImports.ts +/src/project/d/da/fileWithImports.ts +/src/project/e/ea/fileWithImports.ts +/src/project/e/ea/eaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + +Shape signatures in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts (computed .d.ts) + +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +PolledWatches:: +/src/project/node_modules/pkg0/package.json: + {"pollingInterval":2000} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/randomfileforimport.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 3960 +} + + +Change:: modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import + +Input:: +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + +Output:: +>> Screen clear +[12:03:53 AM] File change detected. Starting incremental compilation... + +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' found in cache from location '/src/project/b/ba', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' found in cache from location '/src/project/b', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' found in cache from location '/src/project/c/ca', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' found in cache from location '/src/project/c/ca/caa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' found in cache from location '/src/project/c/ca/caa/caaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' found in cache from location '/src/project/c/cb', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' found in cache from location '/src/project/d/da/daa/daaa/x/y/z', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa/daaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' found in cache from location '/src/project/d/da', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' found in cache from location '/src/project/e/ea', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa/eaaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/eaa/eaaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +../../a/lib/lib.d.ts + Default library for target 'es5' +node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'randomFileForImport.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'b/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts' +fileWithImports.ts + Part of 'files' list in tsconfig.json +randomFileForImport.ts + Part of 'files' list in tsconfig.json +a/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:04:04 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] +Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: SafeModuleCache +Program files:: +/a/lib/lib.d.ts +/src/project/node_modules/pkg0/index.d.ts +/src/project/fileWithImports.ts +/src/project/randomFileForImport.ts +/src/project/a/fileWithImports.ts +/src/project/b/ba/fileWithImports.ts +/src/project/b/randomFileForImport.ts +/src/project/c/ca/fileWithImports.ts +/src/project/c/ca/caa/randomFileForImport.ts +/src/project/c/ca/caa/caaa/fileWithImports.ts +/src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +/src/project/d/da/daa/daaa/fileWithImports.ts +/src/project/d/da/daa/fileWithImports.ts +/src/project/d/da/fileWithImports.ts +/src/project/e/ea/fileWithImports.ts +/src/project/e/ea/eaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Shape signatures in builder refreshed for:: +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts (computed .d.ts) + +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +PolledWatches:: +/src/project/node_modules/pkg0/package.json: + {"pollingInterval":2000} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/randomfileforimport.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa/x/y/z"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[19,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2],[1,3]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[3]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa/x/y/z" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 3 + ], + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 4100 } diff --git a/tests/baselines/reference/tsc/cacheResolutions/multiple-places-discrepancies.js b/tests/baselines/reference/tsc/cacheResolutions/multiple-places-discrepancies.js new file mode 100644 index 00000000000..6848dca3f3f --- /dev/null +++ b/tests/baselines/reference/tsc/cacheResolutions/multiple-places-discrepancies.js @@ -0,0 +1,1204 @@ +3:: modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import +Incremental is currently not reusing resolution so tsbuildinfo has two same resolutions instead of one TODO: (shkamat) +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./a/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/ba/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/cb/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "version": "-10726455937-export const x = 10;" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "FakeFileName", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./a/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/ba/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/cb/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "version": "-10726455937-export const x = 10;" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "FakeFileName", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion" +} +4:: modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import +Incremental is currently not reusing resolution so tsbuildinfo has two same resolutions instead of one TODO: (shkamat) +TsBuild info text without affectedFilesPendingEmit:: /src/project/tsconfig.tsbuildinfo.readable.baseline.txt:: +CleanBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./a/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/ba/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/cb/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "FakeFileName", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion" +} +IncrementalBuild: +{ + "program": { + "fileInfos": { + "../../lib/lib.d.ts": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./a/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/ba/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./b/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./c/cb/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/daa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./d/da/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "FakeFileName", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 3 + ], + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion" +} \ No newline at end of file diff --git a/tests/baselines/reference/tsc/cacheResolutions/multiple-places.js b/tests/baselines/reference/tsc/cacheResolutions/multiple-places.js index ee4da22e78f..8a71c765637 100644 --- a/tests/baselines/reference/tsc/cacheResolutions/multiple-places.js +++ b/tests/baselines/reference/tsc/cacheResolutions/multiple-places.js @@ -44,6 +44,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/d/da/daa/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -56,6 +59,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/e/ea/eaa/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -75,7 +81,7 @@ export interface ImportInterface0 {} export const x = 10; //// [/src/project/tsconfig.json] -{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts"]} +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} @@ -197,6 +203,8 @@ src/project/c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json src/project/d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/d/da/daa/fileWithImports.ts @@ -209,6 +217,8 @@ src/project/e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success File: /src/project/fileWithImports.ts resolvedModules: @@ -407,6 +417,17 @@ export {}; Object.defineProperty(exports, "__esModule", { value: true }); +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + //// [/src/project/d/da/daa/fileWithImports.d.ts] export {}; @@ -434,6 +455,17 @@ export {}; Object.defineProperty(exports, "__esModule", { value: true }); +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + //// [/src/project/e/ea/eaa/fileWithImports.d.ts] export {}; @@ -473,7 +505,7 @@ exports.x = 10; //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -490,12 +522,14 @@ exports.x = 10; "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -594,6 +628,14 @@ exports.x = 10; "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -641,6 +683,14 @@ exports.x = 10; }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -696,16 +746,18 @@ exports.x = 10; "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -843,7 +895,7 @@ exports.x = 10; } }, "version": "FakeTSVersion", - "size": 3446 + "size": 3770 } @@ -905,6 +957,8 @@ src/project/c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json src/project/d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/d/da/daa/fileWithImports.ts @@ -917,6 +971,8 @@ src/project/e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success File: /src/project/fileWithImports.ts resolvedModules: @@ -1051,7 +1107,7 @@ pkg0: { //// [/src/project/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1068,12 +1124,14 @@ pkg0: { "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -1172,6 +1230,14 @@ pkg0: { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -1219,6 +1285,14 @@ pkg0: { }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -1277,16 +1351,18 @@ pkg0: { "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -1424,7 +1500,7 @@ pkg0: { } }, "version": "FakeTSVersion", - "size": 3500 + "size": 3824 } @@ -1488,6 +1564,8 @@ src/project/c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json src/project/d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/d/da/daa/fileWithImports.ts @@ -1500,6 +1578,8 @@ src/project/e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success File: /src/project/fileWithImports.ts resolvedModules: @@ -1644,7 +1724,7 @@ pkg0: { //// [/src/project/b/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1661,12 +1741,14 @@ pkg0: { "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -1765,6 +1847,14 @@ pkg0: { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -1812,6 +1902,14 @@ pkg0: { }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -1873,16 +1971,18 @@ pkg0: { "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2020,7 +2120,7 @@ pkg0: { } }, "version": "FakeTSVersion", - "size": 3554 + "size": 3878 } @@ -2086,6 +2186,8 @@ src/project/c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json src/project/d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/d/da/daa/fileWithImports.ts @@ -2098,6 +2200,8 @@ src/project/e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json src/project/e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json exitCode:: ExitStatus.Success File: /src/project/fileWithImports.ts resolvedModules: @@ -2252,7 +2356,7 @@ pkg0: { //// [/src/project/c/ca/caa/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2269,12 +2373,14 @@ pkg0: { "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -2373,6 +2479,14 @@ pkg0: { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -2420,6 +2534,14 @@ pkg0: { }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" } }, "options": { @@ -2484,16 +2606,18 @@ pkg0: { "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2631,6 +2755,1441 @@ pkg0: { } }, "version": "FakeTSVersion", - "size": 3608 + "size": 3932 +} + + + +Change:: modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import +Input:: +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + + +Output:: +/lib/tsc -p /src/project --explainFiles +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' found in cache from location '/src/project/b/ba', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' found in cache from location '/src/project/b', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' found in cache from location '/src/project/c/ca', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' found in cache from location '/src/project/c/ca/caa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' found in cache from location '/src/project/c/ca/caa/caaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' found in cache from location '/src/project/c/cb', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa/daaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' found in cache from location '/src/project/d/da', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' found in cache from location '/src/project/e/ea', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa/eaaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +lib/lib.d.ts + Default library for target 'es5' +src/project/node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'src/project/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/a/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/b/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/eaa/eaaa/fileWithImports.ts' +src/project/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/a/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +exitCode:: ExitStatus.Success +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"-10726455937-export const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 4072 +} + + + +Change:: modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import +Input:: +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + + +Output:: +/lib/tsc -p /src/project --explainFiles +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' found in cache from location '/src/project/b/ba', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' found in cache from location '/src/project/b', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' found in cache from location '/src/project/c/ca', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' found in cache from location '/src/project/c/ca/caa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' found in cache from location '/src/project/c/ca/caa/caaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' found in cache from location '/src/project/c/cb', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' found in cache from location '/src/project/d/da/daa/daaa/x/y/z', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa/daaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' found in cache from location '/src/project/d/da', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' found in cache from location '/src/project/e/ea', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa/eaaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/eaa/eaaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +lib/lib.d.ts + Default library for target 'es5' +src/project/node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'src/project/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/a/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/b/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/d/da/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/eaa/eaaa/fileWithImports.ts' + Imported via "pkg0" from file 'src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts' +src/project/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/a/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +exitCode:: ExitStatus.Success +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa/x/y/z"],"fileInfos":[{"version":"3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-4882119183-export {};\r\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6057683066-export declare const x = 10;\r\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[19,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2],[1,3]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[3]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa/x/y/z" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../lib/lib.d.ts": { + "original": { + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "version": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "signature": "3858781397-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }\ninterface ReadonlyArray {}\ndeclare const console: { log(msg: any): void; };", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-4882119183-export {};\r\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6057683066-export declare const x = 10;\r\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 3 + ], + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 4212 } diff --git a/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places-already-built.js b/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places-already-built.js index 340ce95df67..e8aebb5c6a3 100644 --- a/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places-already-built.js +++ b/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places-already-built.js @@ -1,6 +1,6 @@ Input:: //// [/src/project/tsconfig.json] -{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts"]} +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} //// [/src/project/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -35,6 +35,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/d/da/daa/daaa/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -59,6 +62,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/node_modules/pkg0/index.d.ts] export interface ImportInterface0 {} @@ -162,6 +168,17 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + //// [/src/project/d/da/daa/daaa/fileWithImports.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -216,8 +233,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -234,12 +262,14 @@ export {}; "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -338,6 +368,14 @@ export {}; "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -385,6 +423,14 @@ export {}; }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -440,16 +486,18 @@ export {}; "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -587,7 +635,7 @@ export {}; } }, "version": "FakeTSVersion", - "size": 3338 + "size": 3658 } @@ -678,7 +726,7 @@ Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== >> Screen clear -[12:02:28 AM] Starting compilation in watch mode... +[12:02:52 AM] Starting compilation in watch mode... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -725,6 +773,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -737,11 +787,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:29 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:02:53 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModuleCache Program files:: @@ -756,12 +808,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: @@ -914,6 +968,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -926,6 +982,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -944,7 +1002,7 @@ export const x = 10; Output:: >> Screen clear -[12:02:32 AM] File change detected. Starting incremental compilation... +[12:02:56 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ======== @@ -1004,6 +1062,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -1016,11 +1076,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:39 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:03 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModules Program files:: @@ -1035,12 +1097,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/randomFileForImport.ts @@ -1205,6 +1269,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -1217,6 +1283,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -1226,7 +1294,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1243,12 +1311,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -1347,6 +1417,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -1394,6 +1472,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -1452,16 +1538,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -1599,7 +1687,7 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3392 + "size": 3712 } @@ -1613,7 +1701,7 @@ export const x = 10; Output:: >> Screen clear -[12:02:45 AM] File change detected. Starting incremental compilation... +[12:03:09 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -1676,6 +1764,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -1688,11 +1778,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:52 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:16 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModules Program files:: @@ -1707,12 +1799,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/b/randomFileForImport.ts @@ -1887,6 +1981,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -1899,6 +1995,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -1908,7 +2006,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/b/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1925,12 +2023,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -2029,6 +2129,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -2076,6 +2184,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -2137,16 +2253,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2284,7 +2402,7 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3446 + "size": 3766 } @@ -2298,7 +2416,7 @@ export const x = 10; Output:: >> Screen clear -[12:02:58 AM] File change detected. Starting incremental compilation... +[12:03:22 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -2365,6 +2483,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -2377,11 +2497,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:03:05 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:29 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModules Program files:: @@ -2396,12 +2518,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/c/ca/caa/randomFileForImport.ts @@ -2586,6 +2710,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -2598,6 +2724,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -2607,7 +2735,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/c/ca/caa/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2624,12 +2752,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -2728,6 +2858,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -2775,6 +2913,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -2839,16 +2985,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2986,6 +3134,1607 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3500 + "size": 3820 +} + + +Change:: modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import + +Input:: +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + +Output:: +>> Screen clear +[12:03:36 AM] File change detected. Starting incremental compilation... + +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +../../a/lib/lib.d.ts + Default library for target 'es5' +node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'randomFileForImport.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'b/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' +fileWithImports.ts + Part of 'files' list in tsconfig.json +randomFileForImport.ts + Part of 'files' list in tsconfig.json +a/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:43 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] +Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: SafeModules +Program files:: +/a/lib/lib.d.ts +/src/project/node_modules/pkg0/index.d.ts +/src/project/fileWithImports.ts +/src/project/randomFileForImport.ts +/src/project/a/fileWithImports.ts +/src/project/b/ba/fileWithImports.ts +/src/project/b/randomFileForImport.ts +/src/project/c/ca/fileWithImports.ts +/src/project/c/ca/caa/randomFileForImport.ts +/src/project/c/ca/caa/caaa/fileWithImports.ts +/src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +/src/project/d/da/daa/daaa/fileWithImports.ts +/src/project/d/da/daa/fileWithImports.ts +/src/project/d/da/fileWithImports.ts +/src/project/e/ea/fileWithImports.ts +/src/project/e/ea/eaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + +Shape signatures in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts (computed .d.ts) + +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/node_modules/pkg0/index.d.ts: + {} +/src/project/randomfileforimport.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 3960 +} + + +Change:: modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import + +Input:: +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + +Output:: +>> Screen clear +[12:03:49 AM] File change detected. Starting incremental compilation... + +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/eaa/eaaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +../../a/lib/lib.d.ts + Default library for target 'es5' +node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'randomFileForImport.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'b/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts' +fileWithImports.ts + Part of 'files' list in tsconfig.json +randomFileForImport.ts + Part of 'files' list in tsconfig.json +a/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:56 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] +Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: SafeModules +Program files:: +/a/lib/lib.d.ts +/src/project/node_modules/pkg0/index.d.ts +/src/project/fileWithImports.ts +/src/project/randomFileForImport.ts +/src/project/a/fileWithImports.ts +/src/project/b/ba/fileWithImports.ts +/src/project/b/randomFileForImport.ts +/src/project/c/ca/fileWithImports.ts +/src/project/c/ca/caa/randomFileForImport.ts +/src/project/c/ca/caa/caaa/fileWithImports.ts +/src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +/src/project/d/da/daa/daaa/fileWithImports.ts +/src/project/d/da/daa/fileWithImports.ts +/src/project/d/da/fileWithImports.ts +/src/project/e/ea/fileWithImports.ts +/src/project/e/ea/eaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Shape signatures in builder refreshed for:: +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts (computed .d.ts) + +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/node_modules/pkg0/index.d.ts: + {} +/src/project/randomfileforimport.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa/x/y/z"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[19,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2],[1,3]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[3]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa/x/y/z" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 3 + ], + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 4100 } diff --git a/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places-first-pass.js b/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places-first-pass.js new file mode 100644 index 00000000000..a62d0526967 --- /dev/null +++ b/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places-first-pass.js @@ -0,0 +1,1452 @@ +Input:: +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} + +//// [/src/project/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/a/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/b/ba/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/b/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/c/ca/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/c/ca/caa/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/c/ca/caa/caaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/c/cb/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + +//// [/src/project/d/da/daa/daaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/d/da/daa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/d/da/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/eaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/eaa/eaaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/node_modules/pkg0/index.d.ts] +export interface ImportInterface0 {} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/src/project/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/fileWithImports.d.ts] +export {}; + + +//// [/src/project/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/a/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/a/fileWithImports.d.ts] +export {}; + + +//// [/src/project/b/ba/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/b/ba/fileWithImports.d.ts] +export {}; + + +//// [/src/project/b/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/b/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/c/ca/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/c/ca/fileWithImports.d.ts] +export {}; + + +//// [/src/project/c/ca/caa/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/c/ca/caa/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/c/ca/caa/caaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/c/ca/caa/caaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/c/cb/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/c/cb/fileWithImports.d.ts] +export {}; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/d/da/daa/daaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/d/da/daa/daaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/d/da/daa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/d/da/daa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/d/da/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/d/da/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/e/ea/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/eaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/e/ea/eaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/eaa/eaaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/e/ea/eaa/eaaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 3658 +} + + +/a/lib/tsc.js -w --explainFiles +Output:: +======== Resolving module 'pkg0' from '/src/project/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/a/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/a/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/b/ba/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/b/ba/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/c/ca/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/c/ca/caa/caaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project/c/ca'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/c/cb/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/c/cb/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project/c'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Resolution for module 'pkg0' was found in cache from location '/src/project/d/da/daa'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/d/da/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Resolution for module 'pkg0' was found in cache from location '/src/project/d/da'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/e/ea/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea/eaa'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== + +>> Screen clear +[12:02:54 AM] Starting compilation in watch mode... + +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' found in cache from location '/src/project', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' found in cache from location '/src/project/a', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' found in cache from location '/src/project/b/ba', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' found in cache from location '/src/project/c/ca', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' found in cache from location '/src/project/c/ca/caa/caaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' found in cache from location '/src/project/c/cb', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa/daaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' found in cache from location '/src/project/d/da/daa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' found in cache from location '/src/project/d/da', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' found in cache from location '/src/project/e/ea', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' found in cache from location '/src/project/e/ea/eaa/eaaa', it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +../../a/lib/lib.d.ts + Default library for target 'es5' +node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' +fileWithImports.ts + Part of 'files' list in tsconfig.json +randomFileForImport.ts + Part of 'files' list in tsconfig.json +a/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:01 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] +Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: SafeModuleCache +Program files:: +/a/lib/lib.d.ts +/src/project/node_modules/pkg0/index.d.ts +/src/project/fileWithImports.ts +/src/project/randomFileForImport.ts +/src/project/a/fileWithImports.ts +/src/project/b/ba/fileWithImports.ts +/src/project/b/randomFileForImport.ts +/src/project/c/ca/fileWithImports.ts +/src/project/c/ca/caa/randomFileForImport.ts +/src/project/c/ca/caa/caaa/fileWithImports.ts +/src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +/src/project/d/da/daa/daaa/fileWithImports.ts +/src/project/d/da/daa/fileWithImports.ts +/src/project/d/da/fileWithImports.ts +/src/project/e/ea/fileWithImports.ts +/src/project/e/ea/eaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + +Shape signatures in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts (computed .d.ts) + +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true, + "extension": ".d.ts" + } +} + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/node_modules/pkg0/index.d.ts: + {} +/src/project/randomfileforimport.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 3798 +} + diff --git a/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places.js b/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places.js index 1664e02d6a5..c7e87051795 100644 --- a/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places.js +++ b/tests/baselines/reference/tscWatch/cacheResolutions/multiple-places.js @@ -1,6 +1,6 @@ Input:: //// [/src/project/tsconfig.json] -{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts"]} +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} //// [/src/project/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -35,6 +35,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/d/da/daa/daaa/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -59,6 +62,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/node_modules/pkg0/index.d.ts] export interface ImportInterface0 {} @@ -79,7 +85,7 @@ interface Array { length: number; [n: number]: T; } /a/lib/tsc.js -w --explainFiles Output:: >> Screen clear -[12:01:23 AM] Starting compilation in watch mode... +[12:01:39 AM] Starting compilation in watch mode... ======== Resolving module 'pkg0' from '/src/project/fileWithImports.ts'. ======== Module resolution kind is not specified, using 'NodeJs'. @@ -197,6 +203,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -209,11 +217,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:26 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:02:50 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: Not Program files:: @@ -228,12 +238,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /a/lib/lib.d.ts @@ -247,12 +259,14 @@ Semantic diagnostics in builder refreshed for:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Shape signatures in builder refreshed for:: /a/lib/lib.d.ts (used version) @@ -266,12 +280,14 @@ Shape signatures in builder refreshed for:: /src/project/c/ca/caa/randomfileforimport.ts (computed .d.ts during emit) /src/project/c/ca/caa/caaa/filewithimports.ts (computed .d.ts during emit) /src/project/c/cb/filewithimports.ts (computed .d.ts during emit) +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts (computed .d.ts during emit) /src/project/d/da/daa/daaa/filewithimports.ts (computed .d.ts during emit) /src/project/d/da/daa/filewithimports.ts (computed .d.ts during emit) /src/project/d/da/filewithimports.ts (computed .d.ts during emit) /src/project/e/ea/filewithimports.ts (computed .d.ts during emit) /src/project/e/ea/eaa/filewithimports.ts (computed .d.ts during emit) /src/project/e/ea/eaa/eaaa/filewithimports.ts (computed .d.ts during emit) +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts (computed .d.ts during emit) File: /src/project/fileWithImports.ts resolvedModules: @@ -420,6 +436,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -432,6 +450,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -526,6 +546,17 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + //// [/src/project/d/da/daa/daaa/fileWithImports.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -580,8 +611,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -598,12 +640,14 @@ export {}; "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -702,6 +746,14 @@ export {}; "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -749,6 +801,14 @@ export {}; }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -804,16 +864,18 @@ export {}; "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -951,7 +1013,7 @@ export {}; } }, "version": "FakeTSVersion", - "size": 3338 + "size": 3658 } @@ -965,7 +1027,7 @@ export const x = 10; Output:: >> Screen clear -[12:02:31 AM] File change detected. Starting incremental compilation... +[12:02:55 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ======== @@ -1025,6 +1087,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -1037,11 +1101,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:38 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:02 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModules Program files:: @@ -1056,12 +1122,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/randomFileForImport.ts @@ -1226,6 +1294,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -1238,6 +1308,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -1247,7 +1319,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1264,12 +1336,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -1368,6 +1442,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -1415,6 +1497,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -1473,16 +1563,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -1620,7 +1712,7 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3392 + "size": 3712 } @@ -1634,7 +1726,7 @@ export const x = 10; Output:: >> Screen clear -[12:02:44 AM] File change detected. Starting incremental compilation... +[12:03:08 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -1697,6 +1789,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -1709,11 +1803,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:02:51 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:15 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModules Program files:: @@ -1728,12 +1824,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/b/randomFileForImport.ts @@ -1908,6 +2006,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -1920,6 +2020,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -1929,7 +2031,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/b/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -1946,12 +2048,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -2050,6 +2154,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -2097,6 +2209,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -2158,16 +2278,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -2305,7 +2427,7 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3446 + "size": 3766 } @@ -2319,7 +2441,7 @@ export const x = 10; Output:: >> Screen clear -[12:02:57 AM] File change detected. Starting incremental compilation... +[12:03:21 AM] File change detected. Starting incremental compilation... Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. @@ -2386,6 +2508,8 @@ c/ca/caa/caaa/fileWithImports.ts Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -2398,11 +2522,13 @@ e/ea/eaa/fileWithImports.ts Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json -[12:03:04 AM] Found 0 errors. Watching for file changes. +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:28 AM] Found 0 errors. Watching for file changes. -Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts"] +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} Program structureReused: SafeModules Program files:: @@ -2417,12 +2543,14 @@ Program files:: /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts Semantic diagnostics in builder refreshed for:: /src/project/c/ca/caa/randomFileForImport.ts @@ -2607,6 +2735,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -2619,6 +2749,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -2628,7 +2760,7 @@ exitCode:: ExitStatus.undefined //// [/src/project/c/ca/caa/randomFileForImport.js] file written with same contents //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -2645,12 +2777,14 @@ exitCode:: ExitStatus.undefined "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -2749,6 +2883,14 @@ exitCode:: ExitStatus.undefined "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -2796,6 +2938,14 @@ exitCode:: ExitStatus.undefined }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -2860,16 +3010,18 @@ exitCode:: ExitStatus.undefined "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -3007,6 +3159,1607 @@ exitCode:: ExitStatus.undefined } }, "version": "FakeTSVersion", - "size": 3500 + "size": 3820 +} + + +Change:: modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import + +Input:: +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + +Output:: +>> Screen clear +[12:03:35 AM] File change detected. Starting incremental compilation... + +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +../../a/lib/lib.d.ts + Default library for target 'es5' +node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'randomFileForImport.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'b/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' +fileWithImports.ts + Part of 'files' list in tsconfig.json +randomFileForImport.ts + Part of 'files' list in tsconfig.json +a/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:42 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] +Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: SafeModules +Program files:: +/a/lib/lib.d.ts +/src/project/node_modules/pkg0/index.d.ts +/src/project/fileWithImports.ts +/src/project/randomFileForImport.ts +/src/project/a/fileWithImports.ts +/src/project/b/ba/fileWithImports.ts +/src/project/b/randomFileForImport.ts +/src/project/c/ca/fileWithImports.ts +/src/project/c/ca/caa/randomFileForImport.ts +/src/project/c/ca/caa/caaa/fileWithImports.ts +/src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +/src/project/d/da/daa/daaa/fileWithImports.ts +/src/project/d/da/daa/fileWithImports.ts +/src/project/d/da/fileWithImports.ts +/src/project/e/ea/fileWithImports.ts +/src/project/e/ea/eaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + +Shape signatures in builder refreshed for:: +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts (computed .d.ts) + +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/node_modules/pkg0/index.d.ts: + {} +/src/project/randomfileforimport.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 3960 +} + + +Change:: modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import + +Input:: +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + + +Output:: +>> Screen clear +[12:03:48 AM] File change detected. Starting incremental compilation... + +Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts'. ======== +Module resolution kind is not specified, using 'NodeJs'. +Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Directory '/src/project/e/ea/eaa/eaaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/y/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/x/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +File '/src/project/node_modules/pkg0.ts' does not exist. +File '/src/project/node_modules/pkg0.tsx' does not exist. +File '/src/project/node_modules/pkg0.d.ts' does not exist. +File '/src/project/node_modules/pkg0/index.ts' does not exist. +File '/src/project/node_modules/pkg0/index.tsx' does not exist. +File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +../../a/lib/lib.d.ts + Default library for target 'es5' +node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'randomFileForImport.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'b/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/randomFileForImport.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts' +fileWithImports.ts + Part of 'files' list in tsconfig.json +randomFileForImport.ts + Part of 'files' list in tsconfig.json +a/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json +b/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json +c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json +d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json +e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json +[12:03:55 AM] Found 0 errors. Watching for file changes. + + + +Program root files: ["/src/project/fileWithImports.ts","/src/project/randomFileForImport.ts","/src/project/a/fileWithImports.ts","/src/project/b/ba/fileWithImports.ts","/src/project/b/randomFileForImport.ts","/src/project/c/ca/fileWithImports.ts","/src/project/c/ca/caa/randomFileForImport.ts","/src/project/c/ca/caa/caaa/fileWithImports.ts","/src/project/c/cb/fileWithImports.ts","/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts","/src/project/d/da/daa/daaa/fileWithImports.ts","/src/project/d/da/daa/fileWithImports.ts","/src/project/d/da/fileWithImports.ts","/src/project/e/ea/fileWithImports.ts","/src/project/e/ea/eaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/fileWithImports.ts","/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"] +Program options: {"composite":true,"cacheResolutions":true,"traceResolution":true,"watch":true,"explainFiles":true,"configFilePath":"/src/project/tsconfig.json"} +Program structureReused: SafeModules +Program files:: +/a/lib/lib.d.ts +/src/project/node_modules/pkg0/index.d.ts +/src/project/fileWithImports.ts +/src/project/randomFileForImport.ts +/src/project/a/fileWithImports.ts +/src/project/b/ba/fileWithImports.ts +/src/project/b/randomFileForImport.ts +/src/project/c/ca/fileWithImports.ts +/src/project/c/ca/caa/randomFileForImport.ts +/src/project/c/ca/caa/caaa/fileWithImports.ts +/src/project/c/cb/fileWithImports.ts +/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +/src/project/d/da/daa/daaa/fileWithImports.ts +/src/project/d/da/daa/fileWithImports.ts +/src/project/d/da/fileWithImports.ts +/src/project/e/ea/fileWithImports.ts +/src/project/e/ea/eaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/fileWithImports.ts +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Semantic diagnostics in builder refreshed for:: +/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + +Shape signatures in builder refreshed for:: +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts (computed .d.ts) + +File: /src/project/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/a/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/b/ba/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/b/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/caa/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/ca/caa/caaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/c/cb/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/daaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/daa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/d/da/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/eaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/eaa/eaaa/fileWithImports.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +File: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts +resolvedModules: +pkg0: { + "resolvedModule": { + "resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts", + "extension": ".d.ts", + "isExternalLibraryImport": true + } +} + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/node_modules/pkg0/index.d.ts: + {} +/src/project/randomfileforimport.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +exitCode:: ExitStatus.undefined + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] file written with same contents +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa/x/y/z","./e/ea/eaa/eaaa/x/y/z"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[7,1],[10,1],[9,1],[8,1],[11,1],[13,1],[12,1],[14,1],[15,1],[18,1],[19,1],[17,1],[16,1],[3,1],[4,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}},{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1],[1,2],[1,3]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[2]],[25,[3]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa/x/y/z", + "./e/ea/eaa/eaaa/x/y/z" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "10580737119-import type { ImportInterface0 } from \"pkg0\";\nexport const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./randomfileforimport.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + }, + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 2 + ], + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + }, + { + "original": [ + 1, + 3 + ], + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 2, + "name": "pkg0", + "resolution": { + "resolutionId": 2, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa/x/y/z", + "resolutions": [ + { + "resolutionEntryId": 3, + "name": "pkg0", + "resolution": { + "resolutionId": 3, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 4100 } diff --git a/tests/baselines/reference/tsserver/cacheResolutions/multiple-places-first-pass.js b/tests/baselines/reference/tsserver/cacheResolutions/multiple-places-first-pass.js new file mode 100644 index 00000000000..2f4520c37ef --- /dev/null +++ b/tests/baselines/reference/tsserver/cacheResolutions/multiple-places-first-pass.js @@ -0,0 +1,939 @@ +Info 0 [00:02:55.000] Provided types map file "/a/lib/typesMap.json" doesn't exist +Info 1 [00:02:56.000] request: + { + "command": "open", + "arguments": { + "file": "/src/project/randomFileForImport.ts" + }, + "seq": 1, + "type": "request" + } +Before request +//// [/src/project/tsconfig.json] +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} + +//// [/src/project/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/a/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/b/ba/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/b/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/c/ca/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/c/ca/caa/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/c/ca/caa/caaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/c/cb/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +import type { ImportInterface0 } from "pkg0"; +export const x = 10; + +//// [/src/project/d/da/daa/daaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/d/da/daa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/d/da/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/eaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/eaa/eaaa/fileWithImports.ts] +import type { ImportInterface0 } from "pkg0"; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + +//// [/src/project/node_modules/pkg0/index.d.ts] +export interface ImportInterface0 {} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/src/project/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/fileWithImports.d.ts] +export {}; + + +//// [/src/project/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/a/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/a/fileWithImports.d.ts] +export {}; + + +//// [/src/project/b/ba/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/b/ba/fileWithImports.d.ts] +export {}; + + +//// [/src/project/b/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/b/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/c/ca/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/c/ca/fileWithImports.d.ts] +export {}; + + +//// [/src/project/c/ca/caa/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/c/ca/caa/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/c/ca/caa/caaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/c/ca/caa/caaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/c/cb/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/c/cb/fileWithImports.d.ts] +export {}; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/d/da/daa/daaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/d/da/daa/daaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/d/da/daa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/d/da/daa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/d/da/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/d/da/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/e/ea/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/eaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/e/ea/eaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/eaa/eaaa/fileWithImports.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); + + +//// [/src/project/e/ea/eaa/eaaa/fileWithImports.d.ts] +export {}; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + +//// [/src/project/tsconfig.tsbuildinfo] +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} + +//// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] +{ + "program": { + "fileNames": [ + "../../a/lib/lib.d.ts", + "./node_modules/pkg0/index.d.ts", + "./filewithimports.ts", + "./randomfileforimport.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./a", + "./b/ba", + "./c/ca/caa/caaa", + "./c/cb", + "./d/da/daa/daaa", + "./e/ea/eaa/eaaa" + ], + "fileNamesList": [ + [ + "./node_modules/pkg0/index.d.ts" + ] + ], + "fileInfos": { + "../../a/lib/lib.d.ts": { + "original": { + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "version": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "signature": "-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }", + "affectsGlobalScope": true + }, + "./node_modules/pkg0/index.d.ts": { + "version": "769951468-export interface ImportInterface0 {}", + "signature": "769951468-export interface ImportInterface0 {}" + }, + "./filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./a/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/ba/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./b/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/ca/caa/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./c/ca/caa/caaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./c/cb/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "./d/da/daa/daaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/daa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./d/da/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/filewithimports.ts": { + "original": { + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", + "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + } + }, + "options": { + "cacheResolutions": true, + "composite": true + }, + "referencedMap": { + "./a/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./b/ba/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/caa/caaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/ca/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./c/cb/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/daaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/daa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./d/da/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/eaaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/eaa/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./e/ea/filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ], + "./filewithimports.ts": [ + "./node_modules/pkg0/index.d.ts" + ] + }, + "exportedModulesMap": {}, + "semanticDiagnosticsPerFile": [ + "../../a/lib/lib.d.ts", + "./a/filewithimports.ts", + "./b/ba/filewithimports.ts", + "./b/randomfileforimport.ts", + "./c/ca/caa/caaa/filewithimports.ts", + "./c/ca/caa/randomfileforimport.ts", + "./c/ca/filewithimports.ts", + "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", + "./d/da/daa/filewithimports.ts", + "./d/da/filewithimports.ts", + "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", + "./e/ea/eaa/filewithimports.ts", + "./e/ea/filewithimports.ts", + "./filewithimports.ts", + "./node_modules/pkg0/index.d.ts", + "./randomfileforimport.ts" + ], + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", + "cacheResolutions": { + "resolutions": [ + { + "original": { + "resolvedModule": { + "resolvedFileName": 2, + "isExternalLibraryImport": true + } + }, + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + ], + "names": [ + "pkg0" + ], + "resolutionEntries": [ + { + "original": [ + 1, + 1 + ], + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ], + "modules": [ + { + "dir": "./a", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./b/ba", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/ca/caa/caaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./c/cb", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./d/da/daa/daaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + }, + { + "dir": "./e/ea/eaa/eaaa", + "resolutions": [ + { + "resolutionEntryId": 1, + "name": "pkg0", + "resolution": { + "resolutionId": 1, + "resolvedModule": { + "resolvedFileName": "./node_modules/pkg0/index.d.ts", + "isExternalLibraryImport": true + } + } + } + ] + } + ] + } + }, + "version": "FakeTSVersion", + "size": 3658 +} + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + +Info 2 [00:02:57.000] Search path: /src/project +Info 3 [00:02:58.000] For info: /src/project/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 4 [00:02:59.000] Creating configuration project /src/project/tsconfig.json +Info 5 [00:03:00.000] FileWatcher:: Added:: WatchInfo: /src/project/tsconfig.json 2000 undefined Project: /src/project/tsconfig.json WatchType: Config file +Info 6 [00:03:01.000] Config: /src/project/tsconfig.json : { + "rootNames": [ + "/src/project/fileWithImports.ts", + "/src/project/randomFileForImport.ts", + "/src/project/a/fileWithImports.ts", + "/src/project/b/ba/fileWithImports.ts", + "/src/project/b/randomFileForImport.ts", + "/src/project/c/ca/fileWithImports.ts", + "/src/project/c/ca/caa/randomFileForImport.ts", + "/src/project/c/ca/caa/caaa/fileWithImports.ts", + "/src/project/c/cb/fileWithImports.ts", + "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", + "/src/project/d/da/daa/daaa/fileWithImports.ts", + "/src/project/d/da/daa/fileWithImports.ts", + "/src/project/d/da/fileWithImports.ts", + "/src/project/e/ea/fileWithImports.ts", + "/src/project/e/ea/eaa/fileWithImports.ts", + "/src/project/e/ea/eaa/eaaa/fileWithImports.ts", + "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts" + ], + "options": { + "composite": true, + "cacheResolutions": true, + "traceResolution": true, + "configFilePath": "/src/project/tsconfig.json" + } +} +Info 7 [00:03:02.000] FileWatcher:: Added:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 8 [00:03:03.000] FileWatcher:: Added:: WatchInfo: /src/project/a/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 9 [00:03:04.000] FileWatcher:: Added:: WatchInfo: /src/project/b/ba/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 10 [00:03:05.000] FileWatcher:: Added:: WatchInfo: /src/project/b/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 11 [00:03:06.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 12 [00:03:07.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/caa/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 13 [00:03:08.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/caa/caaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 14 [00:03:09.000] FileWatcher:: Added:: WatchInfo: /src/project/c/cb/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 15 [00:03:10.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 16 [00:03:11.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/daaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 17 [00:03:12.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 18 [00:03:13.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 19 [00:03:14.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 20 [00:03:15.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 21 [00:03:16.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/eaaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 22 [00:03:17.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 23 [00:03:18.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 24 [00:03:19.000] ======== Resolving module 'pkg0' from '/src/project/fileWithImports.ts'. ======== +Info 25 [00:03:20.000] Module resolution kind is not specified, using 'NodeJs'. +Info 26 [00:03:21.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 27 [00:03:22.000] File '/src/project/node_modules/pkg0/package.json' does not exist. +Info 28 [00:03:23.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 29 [00:03:24.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 30 [00:03:25.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 31 [00:03:26.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 32 [00:03:27.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 33 [00:03:28.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 34 [00:03:29.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 35 [00:03:30.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 36 [00:03:31.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info 37 [00:03:32.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info 38 [00:03:33.000] ======== Resolving module 'pkg0' from '/src/project/a/fileWithImports.ts'. ======== +Info 39 [00:03:34.000] Module resolution kind is not specified, using 'NodeJs'. +Info 40 [00:03:35.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 41 [00:03:36.000] Directory '/src/project/a/node_modules' does not exist, skipping all lookups in it. +Info 42 [00:03:37.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 43 [00:03:38.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 44 [00:03:39.000] ======== Resolving module 'pkg0' from '/src/project/b/ba/fileWithImports.ts'. ======== +Info 45 [00:03:40.000] Module resolution kind is not specified, using 'NodeJs'. +Info 46 [00:03:41.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 47 [00:03:42.000] Directory '/src/project/b/ba/node_modules' does not exist, skipping all lookups in it. +Info 48 [00:03:43.000] Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. +Info 49 [00:03:44.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 50 [00:03:45.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 51 [00:03:46.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/fileWithImports.ts'. ======== +Info 52 [00:03:47.000] Module resolution kind is not specified, using 'NodeJs'. +Info 53 [00:03:48.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 54 [00:03:49.000] Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. +Info 55 [00:03:50.000] Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. +Info 56 [00:03:51.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 57 [00:03:52.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 58 [00:03:53.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts'. ======== +Info 59 [00:03:54.000] Module resolution kind is not specified, using 'NodeJs'. +Info 60 [00:03:55.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 61 [00:03:56.000] Directory '/src/project/c/ca/caa/caaa/node_modules' does not exist, skipping all lookups in it. +Info 62 [00:03:57.000] Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. +Info 63 [00:03:58.000] Resolution for module 'pkg0' was found in cache from location '/src/project/c/ca'. +Info 64 [00:03:59.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 65 [00:04:00.000] ======== Resolving module 'pkg0' from '/src/project/c/cb/fileWithImports.ts'. ======== +Info 66 [00:04:01.000] Module resolution kind is not specified, using 'NodeJs'. +Info 67 [00:04:02.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 68 [00:04:03.000] Directory '/src/project/c/cb/node_modules' does not exist, skipping all lookups in it. +Info 69 [00:04:04.000] Resolution for module 'pkg0' was found in cache from location '/src/project/c'. +Info 70 [00:04:05.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 71 [00:04:06.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Info 72 [00:04:07.000] Module resolution kind is not specified, using 'NodeJs'. +Info 73 [00:04:08.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 74 [00:04:09.000] Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Info 75 [00:04:10.000] Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Info 76 [00:04:11.000] Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Info 77 [00:04:12.000] Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Info 78 [00:04:13.000] Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Info 79 [00:04:14.000] Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Info 80 [00:04:15.000] Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +Info 81 [00:04:16.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 82 [00:04:17.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 83 [00:04:18.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts'. ======== +Info 84 [00:04:19.000] Module resolution kind is not specified, using 'NodeJs'. +Info 85 [00:04:20.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 86 [00:04:21.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da/daa/daaa'. +Info 87 [00:04:22.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 88 [00:04:23.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts'. ======== +Info 89 [00:04:24.000] Module resolution kind is not specified, using 'NodeJs'. +Info 90 [00:04:25.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 91 [00:04:26.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da/daa'. +Info 92 [00:04:27.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 93 [00:04:28.000] ======== Resolving module 'pkg0' from '/src/project/d/da/fileWithImports.ts'. ======== +Info 94 [00:04:29.000] Module resolution kind is not specified, using 'NodeJs'. +Info 95 [00:04:30.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 96 [00:04:31.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da'. +Info 97 [00:04:32.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 98 [00:04:33.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/fileWithImports.ts'. ======== +Info 99 [00:04:34.000] Module resolution kind is not specified, using 'NodeJs'. +Info 100 [00:04:35.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 101 [00:04:36.000] Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Info 102 [00:04:37.000] Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +Info 103 [00:04:38.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 104 [00:04:39.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 105 [00:04:40.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts'. ======== +Info 106 [00:04:41.000] Module resolution kind is not specified, using 'NodeJs'. +Info 107 [00:04:42.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 108 [00:04:43.000] Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Info 109 [00:04:44.000] Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea'. +Info 110 [00:04:45.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 111 [00:04:46.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts'. ======== +Info 112 [00:04:47.000] Module resolution kind is not specified, using 'NodeJs'. +Info 113 [00:04:48.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 114 [00:04:49.000] Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Info 115 [00:04:50.000] Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea/eaa'. +Info 116 [00:04:51.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 117 [00:04:52.000] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info 118 [00:04:53.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules/@types 1 undefined Project: /src/project/tsconfig.json WatchType: Type roots +Info 119 [00:04:54.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules/@types 1 undefined Project: /src/project/tsconfig.json WatchType: Type roots +Info 120 [00:04:55.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info 121 [00:04:56.000] Project '/src/project/tsconfig.json' (Configured) +Info 122 [00:04:57.000] Files (19) + /a/lib/lib.d.ts + /src/project/node_modules/pkg0/index.d.ts + /src/project/fileWithImports.ts + /src/project/randomFileForImport.ts + /src/project/a/fileWithImports.ts + /src/project/b/ba/fileWithImports.ts + /src/project/b/randomFileForImport.ts + /src/project/c/ca/fileWithImports.ts + /src/project/c/ca/caa/randomFileForImport.ts + /src/project/c/ca/caa/caaa/fileWithImports.ts + /src/project/c/cb/fileWithImports.ts + /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts + /src/project/d/da/daa/daaa/fileWithImports.ts + /src/project/d/da/daa/fileWithImports.ts + /src/project/d/da/fileWithImports.ts + /src/project/e/ea/fileWithImports.ts + /src/project/e/ea/eaa/fileWithImports.ts + /src/project/e/ea/eaa/eaaa/fileWithImports.ts + /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + + + ../../a/lib/lib.d.ts + Default library for target 'es5' + node_modules/pkg0/index.d.ts + Imported via "pkg0" from file 'fileWithImports.ts' + Imported via "pkg0" from file 'a/fileWithImports.ts' + Imported via "pkg0" from file 'b/ba/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/fileWithImports.ts' + Imported via "pkg0" from file 'c/ca/caa/caaa/fileWithImports.ts' + Imported via "pkg0" from file 'c/cb/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/x/y/z/randomFileForImport.ts' + Imported via "pkg0" from file 'd/da/daa/daaa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/daa/fileWithImports.ts' + Imported via "pkg0" from file 'd/da/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/fileWithImports.ts' + Imported via "pkg0" from file 'e/ea/eaa/eaaa/fileWithImports.ts' + fileWithImports.ts + Part of 'files' list in tsconfig.json + randomFileForImport.ts + Part of 'files' list in tsconfig.json + a/fileWithImports.ts + Part of 'files' list in tsconfig.json + b/ba/fileWithImports.ts + Part of 'files' list in tsconfig.json + b/randomFileForImport.ts + Part of 'files' list in tsconfig.json + c/ca/fileWithImports.ts + Part of 'files' list in tsconfig.json + c/ca/caa/randomFileForImport.ts + Part of 'files' list in tsconfig.json + c/ca/caa/caaa/fileWithImports.ts + Part of 'files' list in tsconfig.json + c/cb/fileWithImports.ts + Part of 'files' list in tsconfig.json + d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json + d/da/daa/daaa/fileWithImports.ts + Part of 'files' list in tsconfig.json + d/da/daa/fileWithImports.ts + Part of 'files' list in tsconfig.json + d/da/fileWithImports.ts + Part of 'files' list in tsconfig.json + e/ea/fileWithImports.ts + Part of 'files' list in tsconfig.json + e/ea/eaa/fileWithImports.ts + Part of 'files' list in tsconfig.json + e/ea/eaa/eaaa/fileWithImports.ts + Part of 'files' list in tsconfig.json + e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json + +Info 123 [00:04:58.000] ----------------------------------------------- +Info 124 [00:04:59.000] Search path: /src/project +Info 125 [00:05:00.000] For info: /src/project/tsconfig.json :: No config files found. +Info 126 [00:05:01.000] Project '/src/project/tsconfig.json' (Configured) +Info 126 [00:05:02.000] Files (19) + +Info 126 [00:05:03.000] ----------------------------------------------- +Info 126 [00:05:04.000] Open files: +Info 126 [00:05:05.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 126 [00:05:06.000] Projects: /src/project/tsconfig.json +After request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/b/randomfileforimport.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/randomfileforimport.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +Info 126 [00:05:07.000] response: + { + "responseRequired": false + } \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/cacheResolutions/multiple-places-not-built.js b/tests/baselines/reference/tsserver/cacheResolutions/multiple-places-not-built.js index 66f2cc8e847..e150d702b4d 100644 --- a/tests/baselines/reference/tsserver/cacheResolutions/multiple-places-not-built.js +++ b/tests/baselines/reference/tsserver/cacheResolutions/multiple-places-not-built.js @@ -1,5 +1,5 @@ -Info 0 [00:01:24.000] Provided types map file "/a/lib/typesMap.json" doesn't exist -Info 1 [00:01:25.000] request: +Info 0 [00:01:40.000] Provided types map file "/a/lib/typesMap.json" doesn't exist +Info 1 [00:01:41.000] request: { "command": "open", "arguments": { @@ -10,7 +10,7 @@ Info 1 [00:01:25.000] request: } Before request //// [/src/project/tsconfig.json] -{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts"]} +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} //// [/src/project/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -45,6 +45,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/d/da/daa/daaa/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -69,6 +72,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/node_modules/pkg0/index.d.ts] export interface ImportInterface0 {} @@ -92,11 +98,11 @@ FsWatches:: FsWatchesRecursive:: -Info 2 [00:01:26.000] Search path: /src/project -Info 3 [00:01:27.000] For info: /src/project/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json -Info 4 [00:01:28.000] Creating configuration project /src/project/tsconfig.json -Info 5 [00:01:29.000] FileWatcher:: Added:: WatchInfo: /src/project/tsconfig.json 2000 undefined Project: /src/project/tsconfig.json WatchType: Config file -Info 6 [00:01:30.000] Config: /src/project/tsconfig.json : { +Info 2 [00:01:42.000] Search path: /src/project +Info 3 [00:01:43.000] For info: /src/project/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 4 [00:01:44.000] Creating configuration project /src/project/tsconfig.json +Info 5 [00:01:45.000] FileWatcher:: Added:: WatchInfo: /src/project/tsconfig.json 2000 undefined Project: /src/project/tsconfig.json WatchType: Config file +Info 6 [00:01:46.000] Config: /src/project/tsconfig.json : { "rootNames": [ "/src/project/fileWithImports.ts", "/src/project/randomFileForImport.ts", @@ -107,12 +113,14 @@ Info 6 [00:01:30.000] Config: /src/project/tsconfig.json : { "/src/project/c/ca/caa/randomFileForImport.ts", "/src/project/c/ca/caa/caaa/fileWithImports.ts", "/src/project/c/cb/fileWithImports.ts", + "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", "/src/project/d/da/daa/daaa/fileWithImports.ts", "/src/project/d/da/daa/fileWithImports.ts", "/src/project/d/da/fileWithImports.ts", "/src/project/e/ea/fileWithImports.ts", "/src/project/e/ea/eaa/fileWithImports.ts", - "/src/project/e/ea/eaa/eaaa/fileWithImports.ts" + "/src/project/e/ea/eaa/eaaa/fileWithImports.ts", + "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts" ], "options": { "composite": true, @@ -121,112 +129,114 @@ Info 6 [00:01:30.000] Config: /src/project/tsconfig.json : { "configFilePath": "/src/project/tsconfig.json" } } -Info 7 [00:01:31.000] FileWatcher:: Added:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 8 [00:01:32.000] FileWatcher:: Added:: WatchInfo: /src/project/a/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 9 [00:01:33.000] FileWatcher:: Added:: WatchInfo: /src/project/b/ba/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 10 [00:01:34.000] FileWatcher:: Added:: WatchInfo: /src/project/b/randomFileForImport.ts 500 undefined WatchType: Closed Script info -Info 11 [00:01:35.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 12 [00:01:36.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/caa/randomFileForImport.ts 500 undefined WatchType: Closed Script info -Info 13 [00:01:37.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/caa/caaa/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 14 [00:01:38.000] FileWatcher:: Added:: WatchInfo: /src/project/c/cb/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 15 [00:01:39.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/daaa/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 16 [00:01:40.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 17 [00:01:41.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 18 [00:01:42.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 19 [00:01:43.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 20 [00:01:44.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/eaaa/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 21 [00:01:45.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json -Info 22 [00:01:46.000] ======== Resolving module 'pkg0' from '/src/project/fileWithImports.ts'. ======== -Info 23 [00:01:47.000] Module resolution kind is not specified, using 'NodeJs'. -Info 24 [00:01:48.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 25 [00:01:49.000] File '/src/project/node_modules/pkg0/package.json' does not exist. -Info 26 [00:01:50.000] File '/src/project/node_modules/pkg0.ts' does not exist. -Info 27 [00:01:51.000] File '/src/project/node_modules/pkg0.tsx' does not exist. -Info 28 [00:01:52.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. -Info 29 [00:01:53.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. -Info 30 [00:01:54.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. -Info 31 [00:01:55.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. -Info 32 [00:01:56.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. -Info 33 [00:01:57.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 34 [00:01:58.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info 35 [00:01:59.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info 36 [00:02:00.000] ======== Resolving module 'pkg0' from '/src/project/a/fileWithImports.ts'. ======== -Info 37 [00:02:01.000] Module resolution kind is not specified, using 'NodeJs'. -Info 38 [00:02:02.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 39 [00:02:03.000] Directory '/src/project/a/node_modules' does not exist, skipping all lookups in it. -Info 40 [00:02:04.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. -Info 41 [00:02:05.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 42 [00:02:06.000] ======== Resolving module 'pkg0' from '/src/project/b/ba/fileWithImports.ts'. ======== -Info 43 [00:02:07.000] Module resolution kind is not specified, using 'NodeJs'. -Info 44 [00:02:08.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 45 [00:02:09.000] Directory '/src/project/b/ba/node_modules' does not exist, skipping all lookups in it. -Info 46 [00:02:10.000] Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. -Info 47 [00:02:11.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. -Info 48 [00:02:12.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 49 [00:02:13.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/fileWithImports.ts'. ======== -Info 50 [00:02:14.000] Module resolution kind is not specified, using 'NodeJs'. -Info 51 [00:02:15.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 52 [00:02:16.000] Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. -Info 53 [00:02:17.000] Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. -Info 54 [00:02:18.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. -Info 55 [00:02:19.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 56 [00:02:20.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts'. ======== -Info 57 [00:02:21.000] Module resolution kind is not specified, using 'NodeJs'. -Info 58 [00:02:22.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 59 [00:02:23.000] Directory '/src/project/c/ca/caa/caaa/node_modules' does not exist, skipping all lookups in it. -Info 60 [00:02:24.000] Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. -Info 61 [00:02:25.000] Resolution for module 'pkg0' was found in cache from location '/src/project/c/ca'. -Info 62 [00:02:26.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 63 [00:02:27.000] ======== Resolving module 'pkg0' from '/src/project/c/cb/fileWithImports.ts'. ======== -Info 64 [00:02:28.000] Module resolution kind is not specified, using 'NodeJs'. -Info 65 [00:02:29.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 66 [00:02:30.000] Directory '/src/project/c/cb/node_modules' does not exist, skipping all lookups in it. -Info 67 [00:02:31.000] Resolution for module 'pkg0' was found in cache from location '/src/project/c'. -Info 68 [00:02:32.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 69 [00:02:33.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts'. ======== -Info 70 [00:02:34.000] Module resolution kind is not specified, using 'NodeJs'. -Info 71 [00:02:35.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 72 [00:02:36.000] Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. -Info 73 [00:02:37.000] Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. -Info 74 [00:02:38.000] Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. -Info 75 [00:02:39.000] Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. -Info 76 [00:02:40.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. -Info 77 [00:02:41.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 78 [00:02:42.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts'. ======== -Info 79 [00:02:43.000] Module resolution kind is not specified, using 'NodeJs'. -Info 80 [00:02:44.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 81 [00:02:45.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da/daa'. -Info 82 [00:02:46.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 83 [00:02:47.000] ======== Resolving module 'pkg0' from '/src/project/d/da/fileWithImports.ts'. ======== -Info 84 [00:02:48.000] Module resolution kind is not specified, using 'NodeJs'. -Info 85 [00:02:49.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 86 [00:02:50.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da'. -Info 87 [00:02:51.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 88 [00:02:52.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/fileWithImports.ts'. ======== -Info 89 [00:02:53.000] Module resolution kind is not specified, using 'NodeJs'. -Info 90 [00:02:54.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 91 [00:02:55.000] Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. -Info 92 [00:02:56.000] Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. -Info 93 [00:02:57.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. -Info 94 [00:02:58.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 95 [00:02:59.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts'. ======== -Info 96 [00:03:00.000] Module resolution kind is not specified, using 'NodeJs'. -Info 97 [00:03:01.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 98 [00:03:02.000] Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. -Info 99 [00:03:03.000] Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea'. -Info 100 [00:03:04.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 101 [00:03:05.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts'. ======== -Info 102 [00:03:06.000] Module resolution kind is not specified, using 'NodeJs'. -Info 103 [00:03:07.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 104 [00:03:08.000] Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. -Info 105 [00:03:09.000] Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea/eaa'. -Info 106 [00:03:10.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 107 [00:03:11.000] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info 108 [00:03:12.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules/@types 1 undefined Project: /src/project/tsconfig.json WatchType: Type roots -Info 109 [00:03:13.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules/@types 1 undefined Project: /src/project/tsconfig.json WatchType: Type roots -Info 110 [00:03:14.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info 111 [00:03:15.000] Project '/src/project/tsconfig.json' (Configured) -Info 112 [00:03:16.000] Files (17) +Info 7 [00:01:47.000] FileWatcher:: Added:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 8 [00:01:48.000] FileWatcher:: Added:: WatchInfo: /src/project/a/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 9 [00:01:49.000] FileWatcher:: Added:: WatchInfo: /src/project/b/ba/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 10 [00:01:50.000] FileWatcher:: Added:: WatchInfo: /src/project/b/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 11 [00:01:51.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 12 [00:01:52.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/caa/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 13 [00:01:53.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/caa/caaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 14 [00:01:54.000] FileWatcher:: Added:: WatchInfo: /src/project/c/cb/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 15 [00:01:55.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 16 [00:01:56.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/daaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 17 [00:01:57.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 18 [00:01:58.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 19 [00:01:59.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 20 [00:02:00.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 21 [00:02:01.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/eaaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 22 [00:02:02.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 23 [00:02:03.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 24 [00:02:04.000] ======== Resolving module 'pkg0' from '/src/project/fileWithImports.ts'. ======== +Info 25 [00:02:05.000] Module resolution kind is not specified, using 'NodeJs'. +Info 26 [00:02:06.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 27 [00:02:07.000] File '/src/project/node_modules/pkg0/package.json' does not exist. +Info 28 [00:02:08.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 29 [00:02:09.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 30 [00:02:10.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 31 [00:02:11.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 32 [00:02:12.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 33 [00:02:13.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 34 [00:02:14.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 35 [00:02:15.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 36 [00:02:16.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info 37 [00:02:17.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info 38 [00:02:18.000] ======== Resolving module 'pkg0' from '/src/project/a/fileWithImports.ts'. ======== +Info 39 [00:02:19.000] Module resolution kind is not specified, using 'NodeJs'. +Info 40 [00:02:20.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 41 [00:02:21.000] Directory '/src/project/a/node_modules' does not exist, skipping all lookups in it. +Info 42 [00:02:22.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 43 [00:02:23.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 44 [00:02:24.000] ======== Resolving module 'pkg0' from '/src/project/b/ba/fileWithImports.ts'. ======== +Info 45 [00:02:25.000] Module resolution kind is not specified, using 'NodeJs'. +Info 46 [00:02:26.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 47 [00:02:27.000] Directory '/src/project/b/ba/node_modules' does not exist, skipping all lookups in it. +Info 48 [00:02:28.000] Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. +Info 49 [00:02:29.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 50 [00:02:30.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 51 [00:02:31.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/fileWithImports.ts'. ======== +Info 52 [00:02:32.000] Module resolution kind is not specified, using 'NodeJs'. +Info 53 [00:02:33.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 54 [00:02:34.000] Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. +Info 55 [00:02:35.000] Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. +Info 56 [00:02:36.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 57 [00:02:37.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 58 [00:02:38.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts'. ======== +Info 59 [00:02:39.000] Module resolution kind is not specified, using 'NodeJs'. +Info 60 [00:02:40.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 61 [00:02:41.000] Directory '/src/project/c/ca/caa/caaa/node_modules' does not exist, skipping all lookups in it. +Info 62 [00:02:42.000] Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. +Info 63 [00:02:43.000] Resolution for module 'pkg0' was found in cache from location '/src/project/c/ca'. +Info 64 [00:02:44.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 65 [00:02:45.000] ======== Resolving module 'pkg0' from '/src/project/c/cb/fileWithImports.ts'. ======== +Info 66 [00:02:46.000] Module resolution kind is not specified, using 'NodeJs'. +Info 67 [00:02:47.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 68 [00:02:48.000] Directory '/src/project/c/cb/node_modules' does not exist, skipping all lookups in it. +Info 69 [00:02:49.000] Resolution for module 'pkg0' was found in cache from location '/src/project/c'. +Info 70 [00:02:50.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 71 [00:02:51.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts'. ======== +Info 72 [00:02:52.000] Module resolution kind is not specified, using 'NodeJs'. +Info 73 [00:02:53.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 74 [00:02:54.000] Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Info 75 [00:02:55.000] Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Info 76 [00:02:56.000] Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Info 77 [00:02:57.000] Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +Info 78 [00:02:58.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 79 [00:02:59.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 80 [00:03:00.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts'. ======== +Info 81 [00:03:01.000] Module resolution kind is not specified, using 'NodeJs'. +Info 82 [00:03:02.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 83 [00:03:03.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da/daa'. +Info 84 [00:03:04.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 85 [00:03:05.000] ======== Resolving module 'pkg0' from '/src/project/d/da/fileWithImports.ts'. ======== +Info 86 [00:03:06.000] Module resolution kind is not specified, using 'NodeJs'. +Info 87 [00:03:07.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 88 [00:03:08.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da'. +Info 89 [00:03:09.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 90 [00:03:10.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/fileWithImports.ts'. ======== +Info 91 [00:03:11.000] Module resolution kind is not specified, using 'NodeJs'. +Info 92 [00:03:12.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 93 [00:03:13.000] Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Info 94 [00:03:14.000] Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +Info 95 [00:03:15.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 96 [00:03:16.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 97 [00:03:17.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts'. ======== +Info 98 [00:03:18.000] Module resolution kind is not specified, using 'NodeJs'. +Info 99 [00:03:19.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 100 [00:03:20.000] Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Info 101 [00:03:21.000] Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea'. +Info 102 [00:03:22.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 103 [00:03:23.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts'. ======== +Info 104 [00:03:24.000] Module resolution kind is not specified, using 'NodeJs'. +Info 105 [00:03:25.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 106 [00:03:26.000] Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Info 107 [00:03:27.000] Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea/eaa'. +Info 108 [00:03:28.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 109 [00:03:29.000] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info 110 [00:03:30.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules/@types 1 undefined Project: /src/project/tsconfig.json WatchType: Type roots +Info 111 [00:03:31.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules/@types 1 undefined Project: /src/project/tsconfig.json WatchType: Type roots +Info 112 [00:03:32.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info 113 [00:03:33.000] Project '/src/project/tsconfig.json' (Configured) +Info 114 [00:03:34.000] Files (19) /a/lib/lib.d.ts /src/project/node_modules/pkg0/index.d.ts /src/project/fileWithImports.ts @@ -238,12 +248,14 @@ Info 112 [00:03:16.000] Files (17) /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts + /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts + /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts ../../a/lib/lib.d.ts @@ -279,6 +291,8 @@ Info 112 [00:03:16.000] Files (17) Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json + d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -291,17 +305,19 @@ Info 112 [00:03:16.000] Files (17) Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json + e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json -Info 113 [00:03:17.000] ----------------------------------------------- -Info 114 [00:03:18.000] Search path: /src/project -Info 115 [00:03:19.000] For info: /src/project/tsconfig.json :: No config files found. -Info 116 [00:03:20.000] Project '/src/project/tsconfig.json' (Configured) -Info 116 [00:03:21.000] Files (17) +Info 115 [00:03:35.000] ----------------------------------------------- +Info 116 [00:03:36.000] Search path: /src/project +Info 117 [00:03:37.000] For info: /src/project/tsconfig.json :: No config files found. +Info 118 [00:03:38.000] Project '/src/project/tsconfig.json' (Configured) +Info 118 [00:03:39.000] Files (19) -Info 116 [00:03:22.000] ----------------------------------------------- -Info 116 [00:03:23.000] Open files: -Info 116 [00:03:24.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined -Info 116 [00:03:25.000] Projects: /src/project/tsconfig.json +Info 118 [00:03:40.000] ----------------------------------------------- +Info 118 [00:03:41.000] Open files: +Info 118 [00:03:42.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 118 [00:03:43.000] Projects: /src/project/tsconfig.json After request PolledWatches:: @@ -327,6 +343,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -339,6 +357,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -346,11 +366,11 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 116 [00:03:26.000] response: +Info 118 [00:03:44.000] response: { "responseRequired": false } -Info 117 [00:03:27.000] request: +Info 119 [00:03:45.000] request: { "command": "open", "arguments": { @@ -384,6 +404,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -396,6 +418,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -403,20 +427,20 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 118 [00:03:28.000] FileWatcher:: Close:: WatchInfo: /src/project/b/randomFileForImport.ts 500 undefined WatchType: Closed Script info -Info 119 [00:03:29.000] Search path: /src/project/b -Info 120 [00:03:30.000] For info: /src/project/b/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json -Info 121 [00:03:31.000] Search path: /src/project -Info 122 [00:03:32.000] For info: /src/project/tsconfig.json :: No config files found. -Info 123 [00:03:33.000] Project '/src/project/tsconfig.json' (Configured) -Info 123 [00:03:34.000] Files (17) +Info 120 [00:03:46.000] FileWatcher:: Close:: WatchInfo: /src/project/b/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 121 [00:03:47.000] Search path: /src/project/b +Info 122 [00:03:48.000] For info: /src/project/b/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 123 [00:03:49.000] Search path: /src/project +Info 124 [00:03:50.000] For info: /src/project/tsconfig.json :: No config files found. +Info 125 [00:03:51.000] Project '/src/project/tsconfig.json' (Configured) +Info 125 [00:03:52.000] Files (19) -Info 123 [00:03:35.000] ----------------------------------------------- -Info 123 [00:03:36.000] Open files: -Info 123 [00:03:37.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined -Info 123 [00:03:38.000] Projects: /src/project/tsconfig.json -Info 123 [00:03:39.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined -Info 123 [00:03:40.000] Projects: /src/project/tsconfig.json +Info 125 [00:03:53.000] ----------------------------------------------- +Info 125 [00:03:54.000] Open files: +Info 125 [00:03:55.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 125 [00:03:56.000] Projects: /src/project/tsconfig.json +Info 125 [00:03:57.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined +Info 125 [00:03:58.000] Projects: /src/project/tsconfig.json After request PolledWatches:: @@ -440,6 +464,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -452,6 +478,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -459,11 +487,11 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 123 [00:03:41.000] response: +Info 125 [00:03:59.000] response: { "responseRequired": false } -Info 124 [00:03:42.000] request: +Info 126 [00:04:00.000] request: { "command": "open", "arguments": { @@ -495,6 +523,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -507,6 +537,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -514,22 +546,22 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 125 [00:03:43.000] FileWatcher:: Close:: WatchInfo: /src/project/c/ca/caa/randomFileForImport.ts 500 undefined WatchType: Closed Script info -Info 126 [00:03:44.000] Search path: /src/project/c/ca/caa -Info 127 [00:03:45.000] For info: /src/project/c/ca/caa/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json -Info 128 [00:03:46.000] Search path: /src/project -Info 129 [00:03:47.000] For info: /src/project/tsconfig.json :: No config files found. -Info 130 [00:03:48.000] Project '/src/project/tsconfig.json' (Configured) -Info 130 [00:03:49.000] Files (17) +Info 127 [00:04:01.000] FileWatcher:: Close:: WatchInfo: /src/project/c/ca/caa/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 128 [00:04:02.000] Search path: /src/project/c/ca/caa +Info 129 [00:04:03.000] For info: /src/project/c/ca/caa/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 130 [00:04:04.000] Search path: /src/project +Info 131 [00:04:05.000] For info: /src/project/tsconfig.json :: No config files found. +Info 132 [00:04:06.000] Project '/src/project/tsconfig.json' (Configured) +Info 132 [00:04:07.000] Files (19) -Info 130 [00:03:50.000] ----------------------------------------------- -Info 130 [00:03:51.000] Open files: -Info 130 [00:03:52.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined -Info 130 [00:03:53.000] Projects: /src/project/tsconfig.json -Info 130 [00:03:54.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined -Info 130 [00:03:55.000] Projects: /src/project/tsconfig.json -Info 130 [00:03:56.000] FileName: /src/project/c/ca/caa/randomFileForImport.ts ProjectRootPath: undefined -Info 130 [00:03:57.000] Projects: /src/project/tsconfig.json +Info 132 [00:04:08.000] ----------------------------------------------- +Info 132 [00:04:09.000] Open files: +Info 132 [00:04:10.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 132 [00:04:11.000] Projects: /src/project/tsconfig.json +Info 132 [00:04:12.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined +Info 132 [00:04:13.000] Projects: /src/project/tsconfig.json +Info 132 [00:04:14.000] FileName: /src/project/c/ca/caa/randomFileForImport.ts ProjectRootPath: undefined +Info 132 [00:04:15.000] Projects: /src/project/tsconfig.json After request PolledWatches:: @@ -551,6 +583,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -563,6 +597,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -570,21 +606,15 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 130 [00:03:58.000] response: +Info 132 [00:04:16.000] response: { "responseRequired": false } -Info 131 [00:03:59.000] modify randomFileForImport by adding import -Info 132 [00:04:00.000] request: +Info 133 [00:04:17.000] request: { - "command": "change", + "command": "open", "arguments": { - "file": "/src/project/randomFileForImport.ts", - "line": 1, - "offset": 1, - "endLine": 1, - "endOffset": 1, - "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + "file": "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts" }, "seq": 4, "type": "request" @@ -610,6 +640,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -622,6 +654,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -629,6 +663,24 @@ FsWatchesRecursive:: /src/project/node_modules: {} +Info 134 [00:04:18.000] FileWatcher:: Close:: WatchInfo: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 135 [00:04:19.000] Search path: /src/project/d/da/daa/daaa/x/y/z +Info 136 [00:04:20.000] For info: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 137 [00:04:21.000] Search path: /src/project +Info 138 [00:04:22.000] For info: /src/project/tsconfig.json :: No config files found. +Info 139 [00:04:23.000] Project '/src/project/tsconfig.json' (Configured) +Info 139 [00:04:24.000] Files (19) + +Info 139 [00:04:25.000] ----------------------------------------------- +Info 139 [00:04:26.000] Open files: +Info 139 [00:04:27.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 139 [00:04:28.000] Projects: /src/project/tsconfig.json +Info 139 [00:04:29.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined +Info 139 [00:04:30.000] Projects: /src/project/tsconfig.json +Info 139 [00:04:31.000] FileName: /src/project/c/ca/caa/randomFileForImport.ts ProjectRootPath: undefined +Info 139 [00:04:32.000] Projects: /src/project/tsconfig.json +Info 139 [00:04:33.000] FileName: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts ProjectRootPath: undefined +Info 139 [00:04:34.000] Projects: /src/project/tsconfig.json After request PolledWatches:: @@ -662,6 +714,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -669,48 +723,15 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 133 [00:04:01.000] response: +Info 139 [00:04:35.000] response: { "responseRequired": false } -Info 134 [00:04:02.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json -Info 135 [00:04:03.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 136 [00:04:04.000] ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ======== -Info 137 [00:04:05.000] Module resolution kind is not specified, using 'NodeJs'. -Info 138 [00:04:06.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 139 [00:04:07.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -Info 140 [00:04:08.000] File '/src/project/node_modules/pkg0.ts' does not exist. -Info 141 [00:04:09.000] File '/src/project/node_modules/pkg0.tsx' does not exist. -Info 142 [00:04:10.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. -Info 143 [00:04:11.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. -Info 144 [00:04:12.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. -Info 145 [00:04:13.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. -Info 146 [00:04:14.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. -Info 147 [00:04:15.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 148 [00:04:16.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 149 [00:04:17.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 150 [00:04:18.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 151 [00:04:19.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 152 [00:04:20.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 153 [00:04:21.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 154 [00:04:22.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 155 [00:04:23.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 156 [00:04:24.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 157 [00:04:25.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 158 [00:04:26.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 159 [00:04:27.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 160 [00:04:28.000] Different program with same set of files -Info 161 [00:04:29.000] modify b/randomFileForImport by adding import -Info 162 [00:04:30.000] request: +Info 140 [00:04:36.000] request: { - "command": "change", + "command": "open", "arguments": { - "file": "/src/project/b/randomFileForImport.ts", - "line": 1, - "offset": 1, - "endLine": 1, - "endOffset": 1, - "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + "file": "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts" }, "seq": 5, "type": "request" @@ -748,6 +769,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -755,6 +778,26 @@ FsWatchesRecursive:: /src/project/node_modules: {} +Info 141 [00:04:37.000] FileWatcher:: Close:: WatchInfo: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 142 [00:04:38.000] Search path: /src/project/e/ea/eaa/eaaa/x/y/z +Info 143 [00:04:39.000] For info: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 144 [00:04:40.000] Search path: /src/project +Info 145 [00:04:41.000] For info: /src/project/tsconfig.json :: No config files found. +Info 146 [00:04:42.000] Project '/src/project/tsconfig.json' (Configured) +Info 146 [00:04:43.000] Files (19) + +Info 146 [00:04:44.000] ----------------------------------------------- +Info 146 [00:04:45.000] Open files: +Info 146 [00:04:46.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 146 [00:04:47.000] Projects: /src/project/tsconfig.json +Info 146 [00:04:48.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined +Info 146 [00:04:49.000] Projects: /src/project/tsconfig.json +Info 146 [00:04:50.000] FileName: /src/project/c/ca/caa/randomFileForImport.ts ProjectRootPath: undefined +Info 146 [00:04:51.000] Projects: /src/project/tsconfig.json +Info 146 [00:04:52.000] FileName: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts ProjectRootPath: undefined +Info 146 [00:04:53.000] Projects: /src/project/tsconfig.json +Info 146 [00:04:54.000] FileName: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts ProjectRootPath: undefined +Info 146 [00:04:55.000] Projects: /src/project/tsconfig.json After request PolledWatches:: @@ -795,45 +838,16 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 163 [00:04:31.000] response: +Info 146 [00:04:56.000] response: { "responseRequired": false } -Info 164 [00:04:32.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json -Info 165 [00:04:33.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 166 [00:04:34.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 167 [00:04:35.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 168 [00:04:36.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 169 [00:04:37.000] ======== Resolving module 'pkg0' from '/src/project/b/randomFileForImport.ts'. ======== -Info 170 [00:04:38.000] Module resolution kind is not specified, using 'NodeJs'. -Info 171 [00:04:39.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 172 [00:04:40.000] Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. -Info 173 [00:04:41.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -Info 174 [00:04:42.000] File '/src/project/node_modules/pkg0.ts' does not exist. -Info 175 [00:04:43.000] File '/src/project/node_modules/pkg0.tsx' does not exist. -Info 176 [00:04:44.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. -Info 177 [00:04:45.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. -Info 178 [00:04:46.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. -Info 179 [00:04:47.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. -Info 180 [00:04:48.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. -Info 181 [00:04:49.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 182 [00:04:50.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 183 [00:04:51.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 184 [00:04:52.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 185 [00:04:53.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 186 [00:04:54.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 187 [00:04:55.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 188 [00:04:56.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 189 [00:04:57.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 190 [00:04:58.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 191 [00:04:59.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 192 [00:05:00.000] Different program with same set of files -Info 193 [00:05:01.000] modify c/ca/caa/randomFileForImport by adding import -Info 194 [00:05:02.000] request: +Info 147 [00:04:57.000] modify randomFileForImport by adding import +Info 148 [00:04:58.000] request: { "command": "change", "arguments": { - "file": "/src/project/c/ca/caa/randomFileForImport.ts", + "file": "/src/project/randomFileForImport.ts", "line": 1, "offset": 1, "endLine": 1, @@ -923,39 +937,566 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 195 [00:05:03.000] response: +Info 149 [00:04:59.000] response: { "responseRequired": false } -Info 196 [00:05:04.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json -Info 197 [00:05:05.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 198 [00:05:06.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 199 [00:05:07.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 200 [00:05:08.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 201 [00:05:09.000] Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 202 [00:05:10.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 203 [00:05:11.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts'. ======== -Info 204 [00:05:12.000] Module resolution kind is not specified, using 'NodeJs'. -Info 205 [00:05:13.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 206 [00:05:14.000] Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. -Info 207 [00:05:15.000] Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. -Info 208 [00:05:16.000] Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. -Info 209 [00:05:17.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -Info 210 [00:05:18.000] File '/src/project/node_modules/pkg0.ts' does not exist. -Info 211 [00:05:19.000] File '/src/project/node_modules/pkg0.tsx' does not exist. -Info 212 [00:05:20.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. -Info 213 [00:05:21.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. -Info 214 [00:05:22.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. -Info 215 [00:05:23.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. -Info 216 [00:05:24.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. -Info 217 [00:05:25.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 218 [00:05:26.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 219 [00:05:27.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 220 [00:05:28.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 221 [00:05:29.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 222 [00:05:30.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 223 [00:05:31.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 224 [00:05:32.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 225 [00:05:33.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 226 [00:05:34.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 227 [00:05:35.000] Different program with same set of files \ No newline at end of file +Info 150 [00:05:00.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 151 [00:05:01.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 152 [00:05:02.000] ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ======== +Info 153 [00:05:03.000] Module resolution kind is not specified, using 'NodeJs'. +Info 154 [00:05:04.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 155 [00:05:05.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +Info 156 [00:05:06.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 157 [00:05:07.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 158 [00:05:08.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 159 [00:05:09.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 160 [00:05:10.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 161 [00:05:11.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 162 [00:05:12.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 163 [00:05:13.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 164 [00:05:14.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 165 [00:05:15.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 166 [00:05:16.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 167 [00:05:17.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 168 [00:05:18.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 169 [00:05:19.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 170 [00:05:20.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 171 [00:05:21.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 172 [00:05:22.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 173 [00:05:23.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 174 [00:05:24.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 175 [00:05:25.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 176 [00:05:26.000] Different program with same set of files +Info 177 [00:05:27.000] modify b/randomFileForImport by adding import +Info 178 [00:05:28.000] request: + { + "command": "change", + "arguments": { + "file": "/src/project/b/randomFileForImport.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + }, + "seq": 7, + "type": "request" + } +Before request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +After request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +Info 179 [00:05:29.000] response: + { + "responseRequired": false + } +Info 180 [00:05:30.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 181 [00:05:31.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 182 [00:05:32.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 183 [00:05:33.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 184 [00:05:34.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 185 [00:05:35.000] ======== Resolving module 'pkg0' from '/src/project/b/randomFileForImport.ts'. ======== +Info 186 [00:05:36.000] Module resolution kind is not specified, using 'NodeJs'. +Info 187 [00:05:37.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 188 [00:05:38.000] Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. +Info 189 [00:05:39.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +Info 190 [00:05:40.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 191 [00:05:41.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 192 [00:05:42.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 193 [00:05:43.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 194 [00:05:44.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 195 [00:05:45.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 196 [00:05:46.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 197 [00:05:47.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 198 [00:05:48.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 199 [00:05:49.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 200 [00:05:50.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 201 [00:05:51.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 202 [00:05:52.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 203 [00:05:53.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 204 [00:05:54.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 205 [00:05:55.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 206 [00:05:56.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 207 [00:05:57.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 208 [00:05:58.000] Different program with same set of files +Info 209 [00:05:59.000] modify c/ca/caa/randomFileForImport by adding import +Info 210 [00:06:00.000] request: + { + "command": "change", + "arguments": { + "file": "/src/project/c/ca/caa/randomFileForImport.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + }, + "seq": 8, + "type": "request" + } +Before request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +After request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +Info 211 [00:06:01.000] response: + { + "responseRequired": false + } +Info 212 [00:06:02.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 213 [00:06:03.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 214 [00:06:04.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 215 [00:06:05.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 216 [00:06:06.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 217 [00:06:07.000] Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 218 [00:06:08.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 219 [00:06:09.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts'. ======== +Info 220 [00:06:10.000] Module resolution kind is not specified, using 'NodeJs'. +Info 221 [00:06:11.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 222 [00:06:12.000] Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. +Info 223 [00:06:13.000] Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. +Info 224 [00:06:14.000] Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. +Info 225 [00:06:15.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +Info 226 [00:06:16.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 227 [00:06:17.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 228 [00:06:18.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 229 [00:06:19.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 230 [00:06:20.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 231 [00:06:21.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 232 [00:06:22.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 233 [00:06:23.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 234 [00:06:24.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 235 [00:06:25.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 236 [00:06:26.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 237 [00:06:27.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 238 [00:06:28.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 239 [00:06:29.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 240 [00:06:30.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 241 [00:06:31.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 242 [00:06:32.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 243 [00:06:33.000] Different program with same set of files +Info 244 [00:06:34.000] modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import +Info 245 [00:06:35.000] request: + { + "command": "change", + "arguments": { + "file": "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + }, + "seq": 9, + "type": "request" + } +Before request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +After request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +Info 246 [00:06:36.000] response: + { + "responseRequired": false + } +Info 247 [00:06:37.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 248 [00:06:38.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 249 [00:06:39.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 250 [00:06:40.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 251 [00:06:41.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 252 [00:06:42.000] Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 253 [00:06:43.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 254 [00:06:44.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 255 [00:06:45.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 256 [00:06:46.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 257 [00:06:47.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Info 258 [00:06:48.000] Module resolution kind is not specified, using 'NodeJs'. +Info 259 [00:06:49.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 260 [00:06:50.000] Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Info 261 [00:06:51.000] Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Info 262 [00:06:52.000] Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Info 263 [00:06:53.000] Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Info 264 [00:06:54.000] Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Info 265 [00:06:55.000] Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Info 266 [00:06:56.000] Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +Info 267 [00:06:57.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +Info 268 [00:06:58.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 269 [00:06:59.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 270 [00:07:00.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 271 [00:07:01.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 272 [00:07:02.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 273 [00:07:03.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 274 [00:07:04.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 275 [00:07:05.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 276 [00:07:06.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 277 [00:07:07.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 278 [00:07:08.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 279 [00:07:09.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 280 [00:07:10.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 281 [00:07:11.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 282 [00:07:12.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 283 [00:07:13.000] Different program with same set of files +Info 284 [00:07:14.000] modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import +Info 285 [00:07:15.000] request: + { + "command": "change", + "arguments": { + "file": "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + }, + "seq": 10, + "type": "request" + } +Before request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +After request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +Info 286 [00:07:16.000] response: + { + "responseRequired": false + } +Info 287 [00:07:17.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 288 [00:07:18.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 289 [00:07:19.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 290 [00:07:20.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 291 [00:07:21.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 292 [00:07:22.000] Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 293 [00:07:23.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 294 [00:07:24.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 295 [00:07:25.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 296 [00:07:26.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 297 [00:07:27.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 298 [00:07:28.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 299 [00:07:29.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 300 [00:07:30.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 301 [00:07:31.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 302 [00:07:32.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 303 [00:07:33.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 304 [00:07:34.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts'. ======== +Info 305 [00:07:35.000] Module resolution kind is not specified, using 'NodeJs'. +Info 306 [00:07:36.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 307 [00:07:37.000] Directory '/src/project/e/ea/eaa/eaaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Info 308 [00:07:38.000] Directory '/src/project/e/ea/eaa/eaaa/x/y/node_modules' does not exist, skipping all lookups in it. +Info 309 [00:07:39.000] Directory '/src/project/e/ea/eaa/eaaa/x/node_modules' does not exist, skipping all lookups in it. +Info 310 [00:07:40.000] Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Info 311 [00:07:41.000] Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Info 312 [00:07:42.000] Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Info 313 [00:07:43.000] Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +Info 314 [00:07:44.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +Info 315 [00:07:45.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 316 [00:07:46.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 317 [00:07:47.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 318 [00:07:48.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 319 [00:07:49.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 320 [00:07:50.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 321 [00:07:51.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 322 [00:07:52.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 323 [00:07:53.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 324 [00:07:54.000] Different program with same set of files \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/cacheResolutions/multiple-places.js b/tests/baselines/reference/tsserver/cacheResolutions/multiple-places.js index b6fbd255316..3dd647ae20d 100644 --- a/tests/baselines/reference/tsserver/cacheResolutions/multiple-places.js +++ b/tests/baselines/reference/tsserver/cacheResolutions/multiple-places.js @@ -1,5 +1,5 @@ -Info 0 [00:02:29.000] Provided types map file "/a/lib/typesMap.json" doesn't exist -Info 1 [00:02:30.000] request: +Info 0 [00:02:53.000] Provided types map file "/a/lib/typesMap.json" doesn't exist +Info 1 [00:02:54.000] request: { "command": "open", "arguments": { @@ -10,7 +10,7 @@ Info 1 [00:02:30.000] request: } Before request //// [/src/project/tsconfig.json] -{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts"]} +{"compilerOptions":{"composite":true,"cacheResolutions":true,"traceResolution":true},"files":["fileWithImports.ts","randomFileForImport.ts","a/fileWithImports.ts","b/ba/fileWithImports.ts","b/randomFileForImport.ts","c/ca/fileWithImports.ts","c/ca/caa/randomFileForImport.ts","c/ca/caa/caaa/fileWithImports.ts","c/cb/fileWithImports.ts","d/da/daa/daaa/x/y/z/randomFileForImport.ts","d/da/daa/daaa/fileWithImports.ts","d/da/daa/fileWithImports.ts","d/da/fileWithImports.ts","e/ea/fileWithImports.ts","e/ea/eaa/fileWithImports.ts","e/ea/eaa/eaaa/fileWithImports.ts","e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts"]} //// [/src/project/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -45,6 +45,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/d/da/daa/daaa/fileWithImports.ts] import type { ImportInterface0 } from "pkg0"; @@ -69,6 +72,9 @@ import type { ImportInterface0 } from "pkg0"; import type { ImportInterface0 } from "pkg0"; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts] +export const x = 10; + //// [/src/project/node_modules/pkg0/index.d.ts] export interface ImportInterface0 {} @@ -172,6 +178,17 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + //// [/src/project/d/da/daa/daaa/fileWithImports.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); @@ -226,8 +243,19 @@ Object.defineProperty(exports, "__esModule", { value: true }); export {}; +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.js] +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.x = void 0; +exports.x = 10; + + +//// [/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts] +export declare const x = 10; + + //// [/src/project/tsconfig.tsbuildinfo] -{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[12,1],[13,1],[14,1],[17,1],[16,1],[15,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,12,13,14,17,16,15,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/fileWithImports.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[18,[1]],[19,[1]],[20,[1]],[21,[1]],[22,[1]],[23,[1]]]}},"version":"FakeTSVersion"} +{"program":{"fileNames":["../../a/lib/lib.d.ts","./node_modules/pkg0/index.d.ts","./filewithimports.ts","./randomfileforimport.ts","./a/filewithimports.ts","./b/ba/filewithimports.ts","./b/randomfileforimport.ts","./c/ca/filewithimports.ts","./c/ca/caa/randomfileforimport.ts","./c/ca/caa/caaa/filewithimports.ts","./c/cb/filewithimports.ts","./d/da/daa/daaa/x/y/z/randomfileforimport.ts","./d/da/daa/daaa/filewithimports.ts","./d/da/daa/filewithimports.ts","./d/da/filewithimports.ts","./e/ea/filewithimports.ts","./e/ea/eaa/filewithimports.ts","./e/ea/eaa/eaaa/filewithimports.ts","./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts","./a","./b/ba","./c/ca/caa/caaa","./c/cb","./d/da/daa/daaa","./e/ea/eaa/eaaa"],"fileInfos":[{"version":"-7698705165-/// \ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array { length: number; [n: number]: T; }","affectsGlobalScope":true},"769951468-export interface ImportInterface0 {}",{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"7372004325-import type { ImportInterface0 } from \"pkg0\";\n","signature":"-3531856636-export {};\n"},{"version":"-10726455937-export const x = 10;","signature":"-6821242887-export declare const x = 10;\n"}],"options":{"cacheResolutions":true,"composite":true},"fileIdsList":[[2]],"referencedMap":[[5,1],[6,1],[10,1],[8,1],[11,1],[13,1],[14,1],[15,1],[18,1],[17,1],[16,1],[3,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[1,5,6,7,10,9,8,11,13,12,14,15,18,19,17,16,3,2,4],"latestChangedDtsFile":"./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts","cacheResolutions":{"resolutions":[{"resolvedModule":{"resolvedFileName":2,"isExternalLibraryImport":true}}],"names":["pkg0"],"resolutionEntries":[[1,1]],"modules":[[20,[1]],[21,[1]],[22,[1]],[23,[1]],[24,[1]],[25,[1]]]}},"version":"FakeTSVersion"} //// [/src/project/tsconfig.tsbuildinfo.readable.baseline.txt] { @@ -244,12 +272,14 @@ export {}; "./c/ca/caa/randomfileforimport.ts", "./c/ca/caa/caaa/filewithimports.ts", "./c/cb/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/daaa/filewithimports.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/filewithimports.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./a", "./b/ba", "./c/ca/caa/caaa", @@ -348,6 +378,14 @@ export {}; "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" }, + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, "./d/da/daa/daaa/filewithimports.ts": { "original": { "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", @@ -395,6 +433,14 @@ export {}; }, "version": "7372004325-import type { ImportInterface0 } from \"pkg0\";\n", "signature": "-3531856636-export {};\n" + }, + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts": { + "original": { + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" + }, + "version": "-10726455937-export const x = 10;", + "signature": "-6821242887-export declare const x = 10;\n" } }, "options": { @@ -450,16 +496,18 @@ export {}; "./c/ca/filewithimports.ts", "./c/cb/filewithimports.ts", "./d/da/daa/daaa/filewithimports.ts", + "./d/da/daa/daaa/x/y/z/randomfileforimport.ts", "./d/da/daa/filewithimports.ts", "./d/da/filewithimports.ts", "./e/ea/eaa/eaaa/filewithimports.ts", + "./e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts", "./e/ea/eaa/filewithimports.ts", "./e/ea/filewithimports.ts", "./filewithimports.ts", "./node_modules/pkg0/index.d.ts", "./randomfileforimport.ts" ], - "latestChangedDtsFile": "./e/ea/eaa/eaaa/fileWithImports.d.ts", + "latestChangedDtsFile": "./e/ea/eaa/eaaa/x/y/z/randomFileForImport.d.ts", "cacheResolutions": { "resolutions": [ { @@ -597,7 +645,7 @@ export {}; } }, "version": "FakeTSVersion", - "size": 3338 + "size": 3658 } @@ -607,11 +655,11 @@ FsWatches:: FsWatchesRecursive:: -Info 2 [00:02:31.000] Search path: /src/project -Info 3 [00:02:32.000] For info: /src/project/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json -Info 4 [00:02:33.000] Creating configuration project /src/project/tsconfig.json -Info 5 [00:02:34.000] FileWatcher:: Added:: WatchInfo: /src/project/tsconfig.json 2000 undefined Project: /src/project/tsconfig.json WatchType: Config file -Info 6 [00:02:35.000] Config: /src/project/tsconfig.json : { +Info 2 [00:02:55.000] Search path: /src/project +Info 3 [00:02:56.000] For info: /src/project/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 4 [00:02:57.000] Creating configuration project /src/project/tsconfig.json +Info 5 [00:02:58.000] FileWatcher:: Added:: WatchInfo: /src/project/tsconfig.json 2000 undefined Project: /src/project/tsconfig.json WatchType: Config file +Info 6 [00:02:59.000] Config: /src/project/tsconfig.json : { "rootNames": [ "/src/project/fileWithImports.ts", "/src/project/randomFileForImport.ts", @@ -622,12 +670,14 @@ Info 6 [00:02:35.000] Config: /src/project/tsconfig.json : { "/src/project/c/ca/caa/randomFileForImport.ts", "/src/project/c/ca/caa/caaa/fileWithImports.ts", "/src/project/c/cb/fileWithImports.ts", + "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", "/src/project/d/da/daa/daaa/fileWithImports.ts", "/src/project/d/da/daa/fileWithImports.ts", "/src/project/d/da/fileWithImports.ts", "/src/project/e/ea/fileWithImports.ts", "/src/project/e/ea/eaa/fileWithImports.ts", - "/src/project/e/ea/eaa/eaaa/fileWithImports.ts" + "/src/project/e/ea/eaa/eaaa/fileWithImports.ts", + "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts" ], "options": { "composite": true, @@ -636,112 +686,114 @@ Info 6 [00:02:35.000] Config: /src/project/tsconfig.json : { "configFilePath": "/src/project/tsconfig.json" } } -Info 7 [00:02:36.000] FileWatcher:: Added:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 8 [00:02:37.000] FileWatcher:: Added:: WatchInfo: /src/project/a/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 9 [00:02:38.000] FileWatcher:: Added:: WatchInfo: /src/project/b/ba/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 10 [00:02:39.000] FileWatcher:: Added:: WatchInfo: /src/project/b/randomFileForImport.ts 500 undefined WatchType: Closed Script info -Info 11 [00:02:40.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 12 [00:02:41.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/caa/randomFileForImport.ts 500 undefined WatchType: Closed Script info -Info 13 [00:02:42.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/caa/caaa/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 14 [00:02:43.000] FileWatcher:: Added:: WatchInfo: /src/project/c/cb/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 15 [00:02:44.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/daaa/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 16 [00:02:45.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 17 [00:02:46.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 18 [00:02:47.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 19 [00:02:48.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 20 [00:02:49.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/eaaa/fileWithImports.ts 500 undefined WatchType: Closed Script info -Info 21 [00:02:50.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json -Info 22 [00:02:51.000] ======== Resolving module 'pkg0' from '/src/project/fileWithImports.ts'. ======== -Info 23 [00:02:52.000] Module resolution kind is not specified, using 'NodeJs'. -Info 24 [00:02:53.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 25 [00:02:54.000] File '/src/project/node_modules/pkg0/package.json' does not exist. -Info 26 [00:02:55.000] File '/src/project/node_modules/pkg0.ts' does not exist. -Info 27 [00:02:56.000] File '/src/project/node_modules/pkg0.tsx' does not exist. -Info 28 [00:02:57.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. -Info 29 [00:02:58.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. -Info 30 [00:02:59.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. -Info 31 [00:03:00.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. -Info 32 [00:03:01.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. -Info 33 [00:03:02.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 34 [00:03:03.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info 35 [00:03:04.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info 36 [00:03:05.000] ======== Resolving module 'pkg0' from '/src/project/a/fileWithImports.ts'. ======== -Info 37 [00:03:06.000] Module resolution kind is not specified, using 'NodeJs'. -Info 38 [00:03:07.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 39 [00:03:08.000] Directory '/src/project/a/node_modules' does not exist, skipping all lookups in it. -Info 40 [00:03:09.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. -Info 41 [00:03:10.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 42 [00:03:11.000] ======== Resolving module 'pkg0' from '/src/project/b/ba/fileWithImports.ts'. ======== -Info 43 [00:03:12.000] Module resolution kind is not specified, using 'NodeJs'. -Info 44 [00:03:13.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 45 [00:03:14.000] Directory '/src/project/b/ba/node_modules' does not exist, skipping all lookups in it. -Info 46 [00:03:15.000] Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. -Info 47 [00:03:16.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. -Info 48 [00:03:17.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 49 [00:03:18.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/fileWithImports.ts'. ======== -Info 50 [00:03:19.000] Module resolution kind is not specified, using 'NodeJs'. -Info 51 [00:03:20.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 52 [00:03:21.000] Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. -Info 53 [00:03:22.000] Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. -Info 54 [00:03:23.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. -Info 55 [00:03:24.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 56 [00:03:25.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts'. ======== -Info 57 [00:03:26.000] Module resolution kind is not specified, using 'NodeJs'. -Info 58 [00:03:27.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 59 [00:03:28.000] Directory '/src/project/c/ca/caa/caaa/node_modules' does not exist, skipping all lookups in it. -Info 60 [00:03:29.000] Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. -Info 61 [00:03:30.000] Resolution for module 'pkg0' was found in cache from location '/src/project/c/ca'. -Info 62 [00:03:31.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 63 [00:03:32.000] ======== Resolving module 'pkg0' from '/src/project/c/cb/fileWithImports.ts'. ======== -Info 64 [00:03:33.000] Module resolution kind is not specified, using 'NodeJs'. -Info 65 [00:03:34.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 66 [00:03:35.000] Directory '/src/project/c/cb/node_modules' does not exist, skipping all lookups in it. -Info 67 [00:03:36.000] Resolution for module 'pkg0' was found in cache from location '/src/project/c'. -Info 68 [00:03:37.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 69 [00:03:38.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts'. ======== -Info 70 [00:03:39.000] Module resolution kind is not specified, using 'NodeJs'. -Info 71 [00:03:40.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 72 [00:03:41.000] Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. -Info 73 [00:03:42.000] Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. -Info 74 [00:03:43.000] Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. -Info 75 [00:03:44.000] Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. -Info 76 [00:03:45.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. -Info 77 [00:03:46.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 78 [00:03:47.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts'. ======== -Info 79 [00:03:48.000] Module resolution kind is not specified, using 'NodeJs'. -Info 80 [00:03:49.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 81 [00:03:50.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da/daa'. -Info 82 [00:03:51.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 83 [00:03:52.000] ======== Resolving module 'pkg0' from '/src/project/d/da/fileWithImports.ts'. ======== -Info 84 [00:03:53.000] Module resolution kind is not specified, using 'NodeJs'. -Info 85 [00:03:54.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 86 [00:03:55.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da'. -Info 87 [00:03:56.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 88 [00:03:57.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/fileWithImports.ts'. ======== -Info 89 [00:03:58.000] Module resolution kind is not specified, using 'NodeJs'. -Info 90 [00:03:59.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 91 [00:04:00.000] Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. -Info 92 [00:04:01.000] Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. -Info 93 [00:04:02.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. -Info 94 [00:04:03.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 95 [00:04:04.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts'. ======== -Info 96 [00:04:05.000] Module resolution kind is not specified, using 'NodeJs'. -Info 97 [00:04:06.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 98 [00:04:07.000] Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. -Info 99 [00:04:08.000] Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea'. -Info 100 [00:04:09.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 101 [00:04:10.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts'. ======== -Info 102 [00:04:11.000] Module resolution kind is not specified, using 'NodeJs'. -Info 103 [00:04:12.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 104 [00:04:13.000] Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. -Info 105 [00:04:14.000] Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea/eaa'. -Info 106 [00:04:15.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 107 [00:04:16.000] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info -Info 108 [00:04:17.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules/@types 1 undefined Project: /src/project/tsconfig.json WatchType: Type roots -Info 109 [00:04:18.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules/@types 1 undefined Project: /src/project/tsconfig.json WatchType: Type roots -Info 110 [00:04:19.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info 111 [00:04:20.000] Project '/src/project/tsconfig.json' (Configured) -Info 112 [00:04:21.000] Files (17) +Info 7 [00:03:00.000] FileWatcher:: Added:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 8 [00:03:01.000] FileWatcher:: Added:: WatchInfo: /src/project/a/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 9 [00:03:02.000] FileWatcher:: Added:: WatchInfo: /src/project/b/ba/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 10 [00:03:03.000] FileWatcher:: Added:: WatchInfo: /src/project/b/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 11 [00:03:04.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 12 [00:03:05.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/caa/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 13 [00:03:06.000] FileWatcher:: Added:: WatchInfo: /src/project/c/ca/caa/caaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 14 [00:03:07.000] FileWatcher:: Added:: WatchInfo: /src/project/c/cb/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 15 [00:03:08.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 16 [00:03:09.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/daaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 17 [00:03:10.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/daa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 18 [00:03:11.000] FileWatcher:: Added:: WatchInfo: /src/project/d/da/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 19 [00:03:12.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 20 [00:03:13.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 21 [00:03:14.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/eaaa/fileWithImports.ts 500 undefined WatchType: Closed Script info +Info 22 [00:03:15.000] FileWatcher:: Added:: WatchInfo: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 23 [00:03:16.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 24 [00:03:17.000] ======== Resolving module 'pkg0' from '/src/project/fileWithImports.ts'. ======== +Info 25 [00:03:18.000] Module resolution kind is not specified, using 'NodeJs'. +Info 26 [00:03:19.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 27 [00:03:20.000] File '/src/project/node_modules/pkg0/package.json' does not exist. +Info 28 [00:03:21.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 29 [00:03:22.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 30 [00:03:23.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 31 [00:03:24.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 32 [00:03:25.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 33 [00:03:26.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 34 [00:03:27.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 35 [00:03:28.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 36 [00:03:29.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info 37 [00:03:30.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Info 38 [00:03:31.000] ======== Resolving module 'pkg0' from '/src/project/a/fileWithImports.ts'. ======== +Info 39 [00:03:32.000] Module resolution kind is not specified, using 'NodeJs'. +Info 40 [00:03:33.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 41 [00:03:34.000] Directory '/src/project/a/node_modules' does not exist, skipping all lookups in it. +Info 42 [00:03:35.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 43 [00:03:36.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 44 [00:03:37.000] ======== Resolving module 'pkg0' from '/src/project/b/ba/fileWithImports.ts'. ======== +Info 45 [00:03:38.000] Module resolution kind is not specified, using 'NodeJs'. +Info 46 [00:03:39.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 47 [00:03:40.000] Directory '/src/project/b/ba/node_modules' does not exist, skipping all lookups in it. +Info 48 [00:03:41.000] Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. +Info 49 [00:03:42.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 50 [00:03:43.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 51 [00:03:44.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/fileWithImports.ts'. ======== +Info 52 [00:03:45.000] Module resolution kind is not specified, using 'NodeJs'. +Info 53 [00:03:46.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 54 [00:03:47.000] Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. +Info 55 [00:03:48.000] Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. +Info 56 [00:03:49.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 57 [00:03:50.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 58 [00:03:51.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts'. ======== +Info 59 [00:03:52.000] Module resolution kind is not specified, using 'NodeJs'. +Info 60 [00:03:53.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 61 [00:03:54.000] Directory '/src/project/c/ca/caa/caaa/node_modules' does not exist, skipping all lookups in it. +Info 62 [00:03:55.000] Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. +Info 63 [00:03:56.000] Resolution for module 'pkg0' was found in cache from location '/src/project/c/ca'. +Info 64 [00:03:57.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 65 [00:03:58.000] ======== Resolving module 'pkg0' from '/src/project/c/cb/fileWithImports.ts'. ======== +Info 66 [00:03:59.000] Module resolution kind is not specified, using 'NodeJs'. +Info 67 [00:04:00.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 68 [00:04:01.000] Directory '/src/project/c/cb/node_modules' does not exist, skipping all lookups in it. +Info 69 [00:04:02.000] Resolution for module 'pkg0' was found in cache from location '/src/project/c'. +Info 70 [00:04:03.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 71 [00:04:04.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts'. ======== +Info 72 [00:04:05.000] Module resolution kind is not specified, using 'NodeJs'. +Info 73 [00:04:06.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 74 [00:04:07.000] Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Info 75 [00:04:08.000] Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Info 76 [00:04:09.000] Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Info 77 [00:04:10.000] Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +Info 78 [00:04:11.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 79 [00:04:12.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 80 [00:04:13.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts'. ======== +Info 81 [00:04:14.000] Module resolution kind is not specified, using 'NodeJs'. +Info 82 [00:04:15.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 83 [00:04:16.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da/daa'. +Info 84 [00:04:17.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 85 [00:04:18.000] ======== Resolving module 'pkg0' from '/src/project/d/da/fileWithImports.ts'. ======== +Info 86 [00:04:19.000] Module resolution kind is not specified, using 'NodeJs'. +Info 87 [00:04:20.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 88 [00:04:21.000] Resolution for module 'pkg0' was found in cache from location '/src/project/d/da'. +Info 89 [00:04:22.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 90 [00:04:23.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/fileWithImports.ts'. ======== +Info 91 [00:04:24.000] Module resolution kind is not specified, using 'NodeJs'. +Info 92 [00:04:25.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 93 [00:04:26.000] Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Info 94 [00:04:27.000] Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +Info 95 [00:04:28.000] Resolution for module 'pkg0' was found in cache from location '/src/project'. +Info 96 [00:04:29.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 97 [00:04:30.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts'. ======== +Info 98 [00:04:31.000] Module resolution kind is not specified, using 'NodeJs'. +Info 99 [00:04:32.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 100 [00:04:33.000] Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Info 101 [00:04:34.000] Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea'. +Info 102 [00:04:35.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 103 [00:04:36.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts'. ======== +Info 104 [00:04:37.000] Module resolution kind is not specified, using 'NodeJs'. +Info 105 [00:04:38.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 106 [00:04:39.000] Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Info 107 [00:04:40.000] Resolution for module 'pkg0' was found in cache from location '/src/project/e/ea/eaa'. +Info 108 [00:04:41.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 109 [00:04:42.000] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info +Info 110 [00:04:43.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules/@types 1 undefined Project: /src/project/tsconfig.json WatchType: Type roots +Info 111 [00:04:44.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules/@types 1 undefined Project: /src/project/tsconfig.json WatchType: Type roots +Info 112 [00:04:45.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info 113 [00:04:46.000] Project '/src/project/tsconfig.json' (Configured) +Info 114 [00:04:47.000] Files (19) /a/lib/lib.d.ts /src/project/node_modules/pkg0/index.d.ts /src/project/fileWithImports.ts @@ -753,12 +805,14 @@ Info 112 [00:04:21.000] Files (17) /src/project/c/ca/caa/randomFileForImport.ts /src/project/c/ca/caa/caaa/fileWithImports.ts /src/project/c/cb/fileWithImports.ts + /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts /src/project/d/da/daa/daaa/fileWithImports.ts /src/project/d/da/daa/fileWithImports.ts /src/project/d/da/fileWithImports.ts /src/project/e/ea/fileWithImports.ts /src/project/e/ea/eaa/fileWithImports.ts /src/project/e/ea/eaa/eaaa/fileWithImports.ts + /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts ../../a/lib/lib.d.ts @@ -794,6 +848,8 @@ Info 112 [00:04:21.000] Files (17) Part of 'files' list in tsconfig.json c/cb/fileWithImports.ts Part of 'files' list in tsconfig.json + d/da/daa/daaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json d/da/daa/daaa/fileWithImports.ts Part of 'files' list in tsconfig.json d/da/daa/fileWithImports.ts @@ -806,17 +862,19 @@ Info 112 [00:04:21.000] Files (17) Part of 'files' list in tsconfig.json e/ea/eaa/eaaa/fileWithImports.ts Part of 'files' list in tsconfig.json + e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts + Part of 'files' list in tsconfig.json -Info 113 [00:04:22.000] ----------------------------------------------- -Info 114 [00:04:23.000] Search path: /src/project -Info 115 [00:04:24.000] For info: /src/project/tsconfig.json :: No config files found. -Info 116 [00:04:25.000] Project '/src/project/tsconfig.json' (Configured) -Info 116 [00:04:26.000] Files (17) +Info 115 [00:04:48.000] ----------------------------------------------- +Info 116 [00:04:49.000] Search path: /src/project +Info 117 [00:04:50.000] For info: /src/project/tsconfig.json :: No config files found. +Info 118 [00:04:51.000] Project '/src/project/tsconfig.json' (Configured) +Info 118 [00:04:52.000] Files (19) -Info 116 [00:04:27.000] ----------------------------------------------- -Info 116 [00:04:28.000] Open files: -Info 116 [00:04:29.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined -Info 116 [00:04:30.000] Projects: /src/project/tsconfig.json +Info 118 [00:04:53.000] ----------------------------------------------- +Info 118 [00:04:54.000] Open files: +Info 118 [00:04:55.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 118 [00:04:56.000] Projects: /src/project/tsconfig.json After request PolledWatches:: @@ -842,6 +900,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -854,6 +914,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -861,11 +923,11 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 116 [00:04:31.000] response: +Info 118 [00:04:57.000] response: { "responseRequired": false } -Info 117 [00:04:32.000] request: +Info 119 [00:04:58.000] request: { "command": "open", "arguments": { @@ -899,6 +961,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -911,6 +975,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -918,20 +984,20 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 118 [00:04:33.000] FileWatcher:: Close:: WatchInfo: /src/project/b/randomFileForImport.ts 500 undefined WatchType: Closed Script info -Info 119 [00:04:34.000] Search path: /src/project/b -Info 120 [00:04:35.000] For info: /src/project/b/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json -Info 121 [00:04:36.000] Search path: /src/project -Info 122 [00:04:37.000] For info: /src/project/tsconfig.json :: No config files found. -Info 123 [00:04:38.000] Project '/src/project/tsconfig.json' (Configured) -Info 123 [00:04:39.000] Files (17) +Info 120 [00:04:59.000] FileWatcher:: Close:: WatchInfo: /src/project/b/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 121 [00:05:00.000] Search path: /src/project/b +Info 122 [00:05:01.000] For info: /src/project/b/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 123 [00:05:02.000] Search path: /src/project +Info 124 [00:05:03.000] For info: /src/project/tsconfig.json :: No config files found. +Info 125 [00:05:04.000] Project '/src/project/tsconfig.json' (Configured) +Info 125 [00:05:05.000] Files (19) -Info 123 [00:04:40.000] ----------------------------------------------- -Info 123 [00:04:41.000] Open files: -Info 123 [00:04:42.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined -Info 123 [00:04:43.000] Projects: /src/project/tsconfig.json -Info 123 [00:04:44.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined -Info 123 [00:04:45.000] Projects: /src/project/tsconfig.json +Info 125 [00:05:06.000] ----------------------------------------------- +Info 125 [00:05:07.000] Open files: +Info 125 [00:05:08.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 125 [00:05:09.000] Projects: /src/project/tsconfig.json +Info 125 [00:05:10.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined +Info 125 [00:05:11.000] Projects: /src/project/tsconfig.json After request PolledWatches:: @@ -955,6 +1021,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -967,6 +1035,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -974,11 +1044,11 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 123 [00:04:46.000] response: +Info 125 [00:05:12.000] response: { "responseRequired": false } -Info 124 [00:04:47.000] request: +Info 126 [00:05:13.000] request: { "command": "open", "arguments": { @@ -1010,6 +1080,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -1022,6 +1094,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -1029,22 +1103,22 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 125 [00:04:48.000] FileWatcher:: Close:: WatchInfo: /src/project/c/ca/caa/randomFileForImport.ts 500 undefined WatchType: Closed Script info -Info 126 [00:04:49.000] Search path: /src/project/c/ca/caa -Info 127 [00:04:50.000] For info: /src/project/c/ca/caa/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json -Info 128 [00:04:51.000] Search path: /src/project -Info 129 [00:04:52.000] For info: /src/project/tsconfig.json :: No config files found. -Info 130 [00:04:53.000] Project '/src/project/tsconfig.json' (Configured) -Info 130 [00:04:54.000] Files (17) +Info 127 [00:05:14.000] FileWatcher:: Close:: WatchInfo: /src/project/c/ca/caa/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 128 [00:05:15.000] Search path: /src/project/c/ca/caa +Info 129 [00:05:16.000] For info: /src/project/c/ca/caa/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 130 [00:05:17.000] Search path: /src/project +Info 131 [00:05:18.000] For info: /src/project/tsconfig.json :: No config files found. +Info 132 [00:05:19.000] Project '/src/project/tsconfig.json' (Configured) +Info 132 [00:05:20.000] Files (19) -Info 130 [00:04:55.000] ----------------------------------------------- -Info 130 [00:04:56.000] Open files: -Info 130 [00:04:57.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined -Info 130 [00:04:58.000] Projects: /src/project/tsconfig.json -Info 130 [00:04:59.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined -Info 130 [00:05:00.000] Projects: /src/project/tsconfig.json -Info 130 [00:05:01.000] FileName: /src/project/c/ca/caa/randomFileForImport.ts ProjectRootPath: undefined -Info 130 [00:05:02.000] Projects: /src/project/tsconfig.json +Info 132 [00:05:21.000] ----------------------------------------------- +Info 132 [00:05:22.000] Open files: +Info 132 [00:05:23.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 132 [00:05:24.000] Projects: /src/project/tsconfig.json +Info 132 [00:05:25.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined +Info 132 [00:05:26.000] Projects: /src/project/tsconfig.json +Info 132 [00:05:27.000] FileName: /src/project/c/ca/caa/randomFileForImport.ts ProjectRootPath: undefined +Info 132 [00:05:28.000] Projects: /src/project/tsconfig.json After request PolledWatches:: @@ -1066,6 +1140,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -1078,6 +1154,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -1085,21 +1163,15 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 130 [00:05:03.000] response: +Info 132 [00:05:29.000] response: { "responseRequired": false } -Info 131 [00:05:04.000] modify randomFileForImport by adding import -Info 132 [00:05:05.000] request: +Info 133 [00:05:30.000] request: { - "command": "change", + "command": "open", "arguments": { - "file": "/src/project/randomFileForImport.ts", - "line": 1, - "offset": 1, - "endLine": 1, - "endOffset": 1, - "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + "file": "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts" }, "seq": 4, "type": "request" @@ -1125,6 +1197,8 @@ FsWatches:: {} /src/project/c/cb/filewithimports.ts: {} +/src/project/d/da/daa/daaa/x/y/z/randomfileforimport.ts: + {} /src/project/d/da/daa/daaa/filewithimports.ts: {} /src/project/d/da/daa/filewithimports.ts: @@ -1137,6 +1211,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -1144,6 +1220,24 @@ FsWatchesRecursive:: /src/project/node_modules: {} +Info 134 [00:05:31.000] FileWatcher:: Close:: WatchInfo: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 135 [00:05:32.000] Search path: /src/project/d/da/daa/daaa/x/y/z +Info 136 [00:05:33.000] For info: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 137 [00:05:34.000] Search path: /src/project +Info 138 [00:05:35.000] For info: /src/project/tsconfig.json :: No config files found. +Info 139 [00:05:36.000] Project '/src/project/tsconfig.json' (Configured) +Info 139 [00:05:37.000] Files (19) + +Info 139 [00:05:38.000] ----------------------------------------------- +Info 139 [00:05:39.000] Open files: +Info 139 [00:05:40.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 139 [00:05:41.000] Projects: /src/project/tsconfig.json +Info 139 [00:05:42.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined +Info 139 [00:05:43.000] Projects: /src/project/tsconfig.json +Info 139 [00:05:44.000] FileName: /src/project/c/ca/caa/randomFileForImport.ts ProjectRootPath: undefined +Info 139 [00:05:45.000] Projects: /src/project/tsconfig.json +Info 139 [00:05:46.000] FileName: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts ProjectRootPath: undefined +Info 139 [00:05:47.000] Projects: /src/project/tsconfig.json After request PolledWatches:: @@ -1177,6 +1271,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -1184,48 +1280,15 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 133 [00:05:06.000] response: +Info 139 [00:05:48.000] response: { "responseRequired": false } -Info 134 [00:05:07.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json -Info 135 [00:05:08.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 136 [00:05:09.000] ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ======== -Info 137 [00:05:10.000] Module resolution kind is not specified, using 'NodeJs'. -Info 138 [00:05:11.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 139 [00:05:12.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -Info 140 [00:05:13.000] File '/src/project/node_modules/pkg0.ts' does not exist. -Info 141 [00:05:14.000] File '/src/project/node_modules/pkg0.tsx' does not exist. -Info 142 [00:05:15.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. -Info 143 [00:05:16.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. -Info 144 [00:05:17.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. -Info 145 [00:05:18.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. -Info 146 [00:05:19.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. -Info 147 [00:05:20.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 148 [00:05:21.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 149 [00:05:22.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 150 [00:05:23.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 151 [00:05:24.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 152 [00:05:25.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 153 [00:05:26.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 154 [00:05:27.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 155 [00:05:28.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 156 [00:05:29.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 157 [00:05:30.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 158 [00:05:31.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 159 [00:05:32.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 160 [00:05:33.000] Different program with same set of files -Info 161 [00:05:34.000] modify b/randomFileForImport by adding import -Info 162 [00:05:35.000] request: +Info 140 [00:05:49.000] request: { - "command": "change", + "command": "open", "arguments": { - "file": "/src/project/b/randomFileForImport.ts", - "line": 1, - "offset": 1, - "endLine": 1, - "endOffset": 1, - "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + "file": "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts" }, "seq": 5, "type": "request" @@ -1263,6 +1326,8 @@ FsWatches:: {} /src/project/e/ea/eaa/eaaa/filewithimports.ts: {} +/src/project/e/ea/eaa/eaaa/x/y/z/randomfileforimport.ts: + {} /a/lib/lib.d.ts: {} @@ -1270,6 +1335,26 @@ FsWatchesRecursive:: /src/project/node_modules: {} +Info 141 [00:05:50.000] FileWatcher:: Close:: WatchInfo: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts 500 undefined WatchType: Closed Script info +Info 142 [00:05:51.000] Search path: /src/project/e/ea/eaa/eaaa/x/y/z +Info 143 [00:05:52.000] For info: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts :: Config file name: /src/project/tsconfig.json +Info 144 [00:05:53.000] Search path: /src/project +Info 145 [00:05:54.000] For info: /src/project/tsconfig.json :: No config files found. +Info 146 [00:05:55.000] Project '/src/project/tsconfig.json' (Configured) +Info 146 [00:05:56.000] Files (19) + +Info 146 [00:05:57.000] ----------------------------------------------- +Info 146 [00:05:58.000] Open files: +Info 146 [00:05:59.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined +Info 146 [00:06:00.000] Projects: /src/project/tsconfig.json +Info 146 [00:06:01.000] FileName: /src/project/b/randomFileForImport.ts ProjectRootPath: undefined +Info 146 [00:06:02.000] Projects: /src/project/tsconfig.json +Info 146 [00:06:03.000] FileName: /src/project/c/ca/caa/randomFileForImport.ts ProjectRootPath: undefined +Info 146 [00:06:04.000] Projects: /src/project/tsconfig.json +Info 146 [00:06:05.000] FileName: /src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts ProjectRootPath: undefined +Info 146 [00:06:06.000] Projects: /src/project/tsconfig.json +Info 146 [00:06:07.000] FileName: /src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts ProjectRootPath: undefined +Info 146 [00:06:08.000] Projects: /src/project/tsconfig.json After request PolledWatches:: @@ -1310,45 +1395,16 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 163 [00:05:36.000] response: +Info 146 [00:06:09.000] response: { "responseRequired": false } -Info 164 [00:05:37.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json -Info 165 [00:05:38.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 166 [00:05:39.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 167 [00:05:40.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 168 [00:05:41.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 169 [00:05:42.000] ======== Resolving module 'pkg0' from '/src/project/b/randomFileForImport.ts'. ======== -Info 170 [00:05:43.000] Module resolution kind is not specified, using 'NodeJs'. -Info 171 [00:05:44.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 172 [00:05:45.000] Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. -Info 173 [00:05:46.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -Info 174 [00:05:47.000] File '/src/project/node_modules/pkg0.ts' does not exist. -Info 175 [00:05:48.000] File '/src/project/node_modules/pkg0.tsx' does not exist. -Info 176 [00:05:49.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. -Info 177 [00:05:50.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. -Info 178 [00:05:51.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. -Info 179 [00:05:52.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. -Info 180 [00:05:53.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. -Info 181 [00:05:54.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 182 [00:05:55.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 183 [00:05:56.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 184 [00:05:57.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 185 [00:05:58.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 186 [00:05:59.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 187 [00:06:00.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 188 [00:06:01.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 189 [00:06:02.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 190 [00:06:03.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 191 [00:06:04.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 192 [00:06:05.000] Different program with same set of files -Info 193 [00:06:06.000] modify c/ca/caa/randomFileForImport by adding import -Info 194 [00:06:07.000] request: +Info 147 [00:06:10.000] modify randomFileForImport by adding import +Info 148 [00:06:11.000] request: { "command": "change", "arguments": { - "file": "/src/project/c/ca/caa/randomFileForImport.ts", + "file": "/src/project/randomFileForImport.ts", "line": 1, "offset": 1, "endLine": 1, @@ -1438,39 +1494,566 @@ FsWatchesRecursive:: /src/project/node_modules: {} -Info 195 [00:06:08.000] response: +Info 149 [00:06:12.000] response: { "responseRequired": false } -Info 196 [00:06:09.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json -Info 197 [00:06:10.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 198 [00:06:11.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 199 [00:06:12.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 200 [00:06:13.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 201 [00:06:14.000] Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 202 [00:06:15.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 203 [00:06:16.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts'. ======== -Info 204 [00:06:17.000] Module resolution kind is not specified, using 'NodeJs'. -Info 205 [00:06:18.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. -Info 206 [00:06:19.000] Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. -Info 207 [00:06:20.000] Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. -Info 208 [00:06:21.000] Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. -Info 209 [00:06:22.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. -Info 210 [00:06:23.000] File '/src/project/node_modules/pkg0.ts' does not exist. -Info 211 [00:06:24.000] File '/src/project/node_modules/pkg0.tsx' does not exist. -Info 212 [00:06:25.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. -Info 213 [00:06:26.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. -Info 214 [00:06:27.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. -Info 215 [00:06:28.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. -Info 216 [00:06:29.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. -Info 217 [00:06:30.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== -Info 218 [00:06:31.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 219 [00:06:32.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 220 [00:06:33.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 221 [00:06:34.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 222 [00:06:35.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 223 [00:06:36.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 224 [00:06:37.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 225 [00:06:38.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. -Info 226 [00:06:39.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 227 [00:06:40.000] Different program with same set of files \ No newline at end of file +Info 150 [00:06:13.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 151 [00:06:14.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 152 [00:06:15.000] ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ======== +Info 153 [00:06:16.000] Module resolution kind is not specified, using 'NodeJs'. +Info 154 [00:06:17.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 155 [00:06:18.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +Info 156 [00:06:19.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 157 [00:06:20.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 158 [00:06:21.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 159 [00:06:22.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 160 [00:06:23.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 161 [00:06:24.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 162 [00:06:25.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 163 [00:06:26.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 164 [00:06:27.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 165 [00:06:28.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 166 [00:06:29.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 167 [00:06:30.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 168 [00:06:31.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 169 [00:06:32.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 170 [00:06:33.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 171 [00:06:34.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 172 [00:06:35.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 173 [00:06:36.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 174 [00:06:37.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 175 [00:06:38.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 176 [00:06:39.000] Different program with same set of files +Info 177 [00:06:40.000] modify b/randomFileForImport by adding import +Info 178 [00:06:41.000] request: + { + "command": "change", + "arguments": { + "file": "/src/project/b/randomFileForImport.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + }, + "seq": 7, + "type": "request" + } +Before request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +After request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +Info 179 [00:06:42.000] response: + { + "responseRequired": false + } +Info 180 [00:06:43.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 181 [00:06:44.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 182 [00:06:45.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 183 [00:06:46.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 184 [00:06:47.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 185 [00:06:48.000] ======== Resolving module 'pkg0' from '/src/project/b/randomFileForImport.ts'. ======== +Info 186 [00:06:49.000] Module resolution kind is not specified, using 'NodeJs'. +Info 187 [00:06:50.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 188 [00:06:51.000] Directory '/src/project/b/node_modules' does not exist, skipping all lookups in it. +Info 189 [00:06:52.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +Info 190 [00:06:53.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 191 [00:06:54.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 192 [00:06:55.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 193 [00:06:56.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 194 [00:06:57.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 195 [00:06:58.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 196 [00:06:59.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 197 [00:07:00.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 198 [00:07:01.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 199 [00:07:02.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 200 [00:07:03.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 201 [00:07:04.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 202 [00:07:05.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 203 [00:07:06.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 204 [00:07:07.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 205 [00:07:08.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 206 [00:07:09.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 207 [00:07:10.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 208 [00:07:11.000] Different program with same set of files +Info 209 [00:07:12.000] modify c/ca/caa/randomFileForImport by adding import +Info 210 [00:07:13.000] request: + { + "command": "change", + "arguments": { + "file": "/src/project/c/ca/caa/randomFileForImport.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + }, + "seq": 8, + "type": "request" + } +Before request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +After request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +Info 211 [00:07:14.000] response: + { + "responseRequired": false + } +Info 212 [00:07:15.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 213 [00:07:16.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 214 [00:07:17.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 215 [00:07:18.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 216 [00:07:19.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 217 [00:07:20.000] Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 218 [00:07:21.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 219 [00:07:22.000] ======== Resolving module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts'. ======== +Info 220 [00:07:23.000] Module resolution kind is not specified, using 'NodeJs'. +Info 221 [00:07:24.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 222 [00:07:25.000] Directory '/src/project/c/ca/caa/node_modules' does not exist, skipping all lookups in it. +Info 223 [00:07:26.000] Directory '/src/project/c/ca/node_modules' does not exist, skipping all lookups in it. +Info 224 [00:07:27.000] Directory '/src/project/c/node_modules' does not exist, skipping all lookups in it. +Info 225 [00:07:28.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +Info 226 [00:07:29.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 227 [00:07:30.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 228 [00:07:31.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 229 [00:07:32.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 230 [00:07:33.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 231 [00:07:34.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 232 [00:07:35.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 233 [00:07:36.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 234 [00:07:37.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 235 [00:07:38.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 236 [00:07:39.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 237 [00:07:40.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 238 [00:07:41.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 239 [00:07:42.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 240 [00:07:43.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 241 [00:07:44.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 242 [00:07:45.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 243 [00:07:46.000] Different program with same set of files +Info 244 [00:07:47.000] modify d/da/daa/daaa/x/y/z/randomFileForImport by adding import +Info 245 [00:07:48.000] request: + { + "command": "change", + "arguments": { + "file": "/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + }, + "seq": 9, + "type": "request" + } +Before request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +After request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +Info 246 [00:07:49.000] response: + { + "responseRequired": false + } +Info 247 [00:07:50.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 248 [00:07:51.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 249 [00:07:52.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 250 [00:07:53.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 251 [00:07:54.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 252 [00:07:55.000] Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 253 [00:07:56.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 254 [00:07:57.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 255 [00:07:58.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 256 [00:07:59.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 257 [00:08:00.000] ======== Resolving module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts'. ======== +Info 258 [00:08:01.000] Module resolution kind is not specified, using 'NodeJs'. +Info 259 [00:08:02.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 260 [00:08:03.000] Directory '/src/project/d/da/daa/daaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Info 261 [00:08:04.000] Directory '/src/project/d/da/daa/daaa/x/y/node_modules' does not exist, skipping all lookups in it. +Info 262 [00:08:05.000] Directory '/src/project/d/da/daa/daaa/x/node_modules' does not exist, skipping all lookups in it. +Info 263 [00:08:06.000] Directory '/src/project/d/da/daa/daaa/node_modules' does not exist, skipping all lookups in it. +Info 264 [00:08:07.000] Directory '/src/project/d/da/daa/node_modules' does not exist, skipping all lookups in it. +Info 265 [00:08:08.000] Directory '/src/project/d/da/node_modules' does not exist, skipping all lookups in it. +Info 266 [00:08:09.000] Directory '/src/project/d/node_modules' does not exist, skipping all lookups in it. +Info 267 [00:08:10.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +Info 268 [00:08:11.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 269 [00:08:12.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 270 [00:08:13.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 271 [00:08:14.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 272 [00:08:15.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 273 [00:08:16.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 274 [00:08:17.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 275 [00:08:18.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 276 [00:08:19.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 277 [00:08:20.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 278 [00:08:21.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 279 [00:08:22.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 280 [00:08:23.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 281 [00:08:24.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 282 [00:08:25.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 283 [00:08:26.000] Different program with same set of files +Info 284 [00:08:27.000] modify e/ea/eaa/eaaa/x/y/z/randomFileForImport by adding import +Info 285 [00:08:28.000] request: + { + "command": "change", + "arguments": { + "file": "/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts", + "line": 1, + "offset": 1, + "endLine": 1, + "endOffset": 1, + "insertString": "import type { ImportInterface0 } from \"pkg0\";\n" + }, + "seq": 10, + "type": "request" + } +Before request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +After request + +PolledWatches:: +/src/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/src/project/tsconfig.json: + {} +/src/project/filewithimports.ts: + {} +/src/project/a/filewithimports.ts: + {} +/src/project/b/ba/filewithimports.ts: + {} +/src/project/c/ca/filewithimports.ts: + {} +/src/project/c/ca/caa/caaa/filewithimports.ts: + {} +/src/project/c/cb/filewithimports.ts: + {} +/src/project/d/da/daa/daaa/filewithimports.ts: + {} +/src/project/d/da/daa/filewithimports.ts: + {} +/src/project/d/da/filewithimports.ts: + {} +/src/project/e/ea/filewithimports.ts: + {} +/src/project/e/ea/eaa/filewithimports.ts: + {} +/src/project/e/ea/eaa/eaaa/filewithimports.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/src/project/node_modules: + {} + +Info 286 [00:08:29.000] response: + { + "responseRequired": false + } +Info 287 [00:08:30.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json +Info 288 [00:08:31.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 289 [00:08:32.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 290 [00:08:33.000] Reusing resolution of module 'pkg0' from '/src/project/a/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 291 [00:08:34.000] Reusing resolution of module 'pkg0' from '/src/project/b/ba/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 292 [00:08:35.000] Reusing resolution of module 'pkg0' from '/src/project/b/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 293 [00:08:36.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 294 [00:08:37.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 295 [00:08:38.000] Reusing resolution of module 'pkg0' from '/src/project/c/ca/caa/caaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 296 [00:08:39.000] Reusing resolution of module 'pkg0' from '/src/project/c/cb/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 297 [00:08:40.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/x/y/z/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 298 [00:08:41.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/daaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 299 [00:08:42.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/daa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 300 [00:08:43.000] Reusing resolution of module 'pkg0' from '/src/project/d/da/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 301 [00:08:44.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 302 [00:08:45.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 303 [00:08:46.000] Reusing resolution of module 'pkg0' from '/src/project/e/ea/eaa/eaaa/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. +Info 304 [00:08:47.000] ======== Resolving module 'pkg0' from '/src/project/e/ea/eaa/eaaa/x/y/z/randomFileForImport.ts'. ======== +Info 305 [00:08:48.000] Module resolution kind is not specified, using 'NodeJs'. +Info 306 [00:08:49.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration. +Info 307 [00:08:50.000] Directory '/src/project/e/ea/eaa/eaaa/x/y/z/node_modules' does not exist, skipping all lookups in it. +Info 308 [00:08:51.000] Directory '/src/project/e/ea/eaa/eaaa/x/y/node_modules' does not exist, skipping all lookups in it. +Info 309 [00:08:52.000] Directory '/src/project/e/ea/eaa/eaaa/x/node_modules' does not exist, skipping all lookups in it. +Info 310 [00:08:53.000] Directory '/src/project/e/ea/eaa/eaaa/node_modules' does not exist, skipping all lookups in it. +Info 311 [00:08:54.000] Directory '/src/project/e/ea/eaa/node_modules' does not exist, skipping all lookups in it. +Info 312 [00:08:55.000] Directory '/src/project/e/ea/node_modules' does not exist, skipping all lookups in it. +Info 313 [00:08:56.000] Directory '/src/project/e/node_modules' does not exist, skipping all lookups in it. +Info 314 [00:08:57.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups. +Info 315 [00:08:58.000] File '/src/project/node_modules/pkg0.ts' does not exist. +Info 316 [00:08:59.000] File '/src/project/node_modules/pkg0.tsx' does not exist. +Info 317 [00:09:00.000] File '/src/project/node_modules/pkg0.d.ts' does not exist. +Info 318 [00:09:01.000] File '/src/project/node_modules/pkg0/index.ts' does not exist. +Info 319 [00:09:02.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist. +Info 320 [00:09:03.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result. +Info 321 [00:09:04.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'. +Info 322 [00:09:05.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ======== +Info 323 [00:09:06.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 324 [00:09:07.000] Different program with same set of files \ No newline at end of file